|
|
| version 1.5, 2005/02/09 20:11:36 | version 1.6, 2005/03/20 13:12:50 |
|---|---|
| Line 6 | Line 6 |
| #endif | #endif |
| typedef struct { | typedef struct { |
| const OEMCHAR *title; | const TCHAR *title; |
| const OEMCHAR *ext; | const TCHAR *ext; |
| const OEMCHAR *filter; | const TCHAR *filter; |
| int defindex; | int defindex; |
| } FILESEL; | } FILESEL; |
| extern const OEMCHAR str_nc[]; | extern const TCHAR str_nc[]; |
| extern const OEMCHAR str_int0[]; | extern const TCHAR str_int0[]; |
| extern const OEMCHAR str_int1[]; | extern const TCHAR str_int1[]; |
| extern const OEMCHAR str_int2[]; | extern const TCHAR str_int2[]; |
| extern const OEMCHAR str_int4[]; | extern const TCHAR str_int4[]; |
| extern const OEMCHAR str_int5[]; | extern const TCHAR str_int5[]; |
| extern const OEMCHAR str_int6[]; | extern const TCHAR str_int6[]; |
| #define SetDlgItemCheck(a, b, c) \ | #define SetDlgItemCheck(a, b, c) \ |
| SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) | SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) |
| Line 30 extern const OEMCHAR str_int6[]; | Line 30 extern const OEMCHAR str_int6[]; |
| (((a) + (b)) / 2) | (((a) + (b)) / 2) |
| #define SETLISTSTR(a, b, c) \ | #define SETLISTSTR(a, b, c) \ |
| dlgs_setliststr((a), (b), (c), sizeof((c))/sizeof(OEMCHAR *)) | dlgs_setliststr((a), (b), (c), NELEMENTS((c))) |
| #define SETnLISTSTR(a, b, c, d) \ | #define SETnLISTSTR(a, b, c, d) \ |
| dlgs_setliststr((a), (b), (c), (d)) | dlgs_setliststr((a), (b), (c), (d)) |
| #define SETLISTUINT32(a, b, c) \ | #define SETLISTUINT32(a, b, c) \ |
| dlgs_setlistuint32((a), (b), (c), sizeof((c))/sizeof(UINT32)) | dlgs_setlistuint32((a), (b), (c), NELEMENTS((c))) |
| BOOL dlgs_selectfile(HWND hWnd, const FILESEL *item, | BOOL dlgs_selectfile(HWND hWnd, const FILESEL *item, |
| Line 48 BOOL dlgs_selectwritenum(HWND hWnd, cons | Line 48 BOOL dlgs_selectwritenum(HWND hWnd, cons |
| void dlgs_browsemimpidef(HWND hWnd, UINT16 res); | void dlgs_browsemimpidef(HWND hWnd, UINT16 res); |
| void dlgs_setliststr(HWND hWnd, UINT16 res, const OEMCHAR **item, UINT items); | void dlgs_setliststr(HWND hWnd, UINT16 res, const TCHAR **item, UINT items); |
| void dlgs_setlistuint32(HWND hWnd, UINT16 res, const UINT32 *item, UINT items); | void dlgs_setlistuint32(HWND hWnd, UINT16 res, const UINT32 *item, UINT items); |
| void dlgs_setlistmidiout(HWND hWnd, UINT16 res, const OEMCHAR *defname); | void dlgs_setlistmidiout(HWND hWnd, UINT16 res, const OEMCHAR *defname); |