19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: CXvidDecoder.h,v 1.1.2.3 2003-11-15 02:51:41 suxen_drol Exp $ |
* $Id: CXvidDecoder.h,v 1.1.2.4 2003-12-12 15:09:01 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
47 |
DPRINTF(char *fmt, ...) { } |
DPRINTF(char *fmt, ...) { } |
48 |
#endif |
#endif |
49 |
|
|
50 |
|
/* registry stuff */ |
51 |
|
#define XVID_REG_KEY HKEY_CURRENT_USER |
52 |
|
#define XVID_REG_SUBKEY "Software\\GNU\\XviD" |
53 |
|
#define XVID_REG_CLASS "config" |
54 |
|
|
55 |
|
#define REG_GET_N(X, Y, Z) size=sizeof(int);if(RegQueryValueEx(hKey, X, 0, 0, (LPBYTE)&Y, &size) != ERROR_SUCCESS) {Y=Z;} |
56 |
|
#define REG_GET_S(X, Y, Z) size=MAX_PATH;if(RegQueryValueEx(hKey, X, 0, 0, Y, &size) != ERROR_SUCCESS) {lstrcpy(Y, Z);} |
57 |
|
#define REG_SET_N(X, Y) RegSetValueEx(hKey, X, 0, REG_DWORD, (LPBYTE)&Y, sizeof(int)) |
58 |
|
#define REG_SET_S(X, Y) RegSetValueEx(hKey, X, 0, REG_SZ, Y, lstrlen(Y)+1) |
59 |
|
|
60 |
#define XVID_NAME_L L"XviD MPEG-4 Video Decoder" |
#define XVID_NAME_L L"XviD MPEG-4 Video Decoder" |
61 |
|
|
62 |
/* --- fourcc --- */ |
/* --- fourcc --- */ |