[svn] / trunk / xvidcore / dshow / src / config.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/dshow/src/config.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2112, Thu Jun 11 09:17:29 2015 UTC revision 2113, Sun Jun 14 19:17:57 2015 UTC
# Line 3  Line 3 
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - Configuration processing header file -   *  - Configuration processing header file -
5   *   *
6   *  Copyright(C) 2002-2011 Peter Ross <pross@xvid.org>   *  Copyright(C) 2002-2012 Peter Ross <pross@xvid.org>
7   *   *
8   *  This program is free software ; you can redistribute it and/or modify   *  This program is free software ; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 32  Line 32 
32    
33  /* registry stuff */  /* registry stuff */
34  #define XVID_REG_KEY    HKEY_CURRENT_USER  #define XVID_REG_KEY    HKEY_CURRENT_USER
35  #define XVID_REG_SUBKEY TEXT("Software\\GNU\\XviD")  #define XVID_REG_SUBKEY "Software\\GNU\\XviD"
36  #define XVID_REG_CLASS  TEXT("config")  #define XVID_REG_CLASS  "config"
37    
38  #define REG_GET_N(X, Y, Z) size=sizeof(int);if(RegQueryValueEx(hKey, X, 0, 0, (LPBYTE)&Y, &size) != ERROR_SUCCESS) {Y=Z;}  #define REG_GET_N(X, Y, Z) size=sizeof(int);if(RegQueryValueEx(hKey, X, 0, 0, (LPBYTE)&Y, &size) != ERROR_SUCCESS) {Y=Z;}
39  #define REG_GET_S(X, Y, Z) size=MAX_PATH;if(RegQueryValueEx(hKey, X, 0, 0, Y, &size) != ERROR_SUCCESS) {lstrcpy(Y, Z);}  #define REG_GET_S(X, Y, Z) size=MAX_PATH;if(RegQueryValueEx(hKey, X, 0, 0, Y, &size) != ERROR_SUCCESS) {lstrcpy(Y, Z);}
# Line 77  Line 77 
77    
78  /* functions */  /* functions */
79  void LoadRegistryInfo();  void LoadRegistryInfo();
80  void SaveRegistryInfo();  void SaveRegistryInfo(int perfCount);
81  INT_PTR CALLBACK adv_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);  INT_PTR CALLBACK adv_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
82    
83  #define XVID_DLL_NAME TEXT("xvidcore.dll")  #define XVID_DLL_NAME "xvidcore.dll"
84    
85  #ifdef __cplusplus  #ifdef __cplusplus
86  }  }

Legend:
Removed from v.2112  
changed lines
  Added in v.2113

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4