Added some missing definitions.

This commit is contained in:
Matthew Lake 2000-07-08 18:31:43 +00:00 committed by Alexandre Julliard
parent e81b63fc9c
commit 187271092a
4 changed files with 16 additions and 2 deletions

View File

@ -2759,6 +2759,19 @@ typedef struct tagNMLVCACHEHINT
#define PNM_CACHEHINT LPNMLVCACHEHINT #define PNM_CACHEHINT LPNMLVCACHEHINT
#define NM_CACHEHINT NMLVCACHEHINT #define NM_CACHEHINT NMLVCACHEHINT
#define ListView_SetTextBkColor(hwnd,clrBk) \
(BOOL)SendMessageA((hwnd),LVM_SETTEXTBKCOLOR,0,(LPARAM)(COLORREF)(clrBk))
#define ListView_SetTextColor(hwnd,clrBk) \
(BOOL)SendMessageA((hwnd),LVM_SETTEXTCOLOR,0,(LPARAM)(COLORREF)(clrBk))
#define ListView_DeleteColumn(hwnd,col)\
(LRESULT)SendMessageA((hwnd),LVM_DELETECOLUMN,0,(LPARAM)(INT)(col))
#define ListView_GetColumnA(hwnd,x,col)\
(LRESULT)SendMessageA((hwnd),LVM_GETCOLUMNA,(WPARAM)(INT)(x),(LPARAM)(LPLVCOLUMNA)(col))
#define ListView_SetColumnA(hwnd,x,col)\
(LRESULT)SendMessageA((hwnd),LVM_SETCOLUMNA,(WPARAM)(INT)(x),(LPARAM)(LPLVCOLUMNA)(col))
#define ListView_GetNextItem(hwnd,nItem,flags) \ #define ListView_GetNextItem(hwnd,nItem,flags) \
(INT)SendMessageA((hwnd),LVM_GETNEXTITEM,(WPARAM)(INT)(nItem),(LPARAM)(MAKELPARAM(flags,0))) (INT)SendMessageA((hwnd),LVM_GETNEXTITEM,(WPARAM)(INT)(nItem),(LPARAM)(MAKELPARAM(flags,0)))
#define ListView_FindItem(hwnd,nItem,plvfi) \ #define ListView_FindItem(hwnd,nItem,plvfi) \

View File

@ -763,7 +763,7 @@ typedef struct
int nNumberOfLinks; int nNumberOfLinks;
int nFileIndexHigh; int nFileIndexHigh;
int nFileIndexLow; int nFileIndexLow;
} BY_HANDLE_FILE_INFORMATION ; } BY_HANDLE_FILE_INFORMATION, *LPBY_HANDLE_FILE_INFORMATION ;
typedef struct _SYSTEM_POWER_STATUS typedef struct _SYSTEM_POWER_STATUS

View File

@ -1187,7 +1187,7 @@ typedef VOID CALLBACK (*LINEDDAPROC)(INT,INT,LPARAM);
#define ETO_OPAQUE 0x0002 #define ETO_OPAQUE 0x0002
#define ETO_CLIPPED 0x0004 #define ETO_CLIPPED 0x0004
#define ETO_GLYPH_INDEX 0x0010 #define ETO_GLYPH_INDEX 0x0010
#define ETO_RTLEADING 0x0080 #define ETO_RTLREADING 0x0080
#define ETO_IGNORELANGUAGE 0x1000 #define ETO_IGNORELANGUAGE 0x1000
#define ASPECT_FILTERING 0x0001 #define ASPECT_FILTERING 0x0001

View File

@ -1528,6 +1528,7 @@ typedef BOOL CALLBACK (*DRAWSTATEPROC)(HDC,LPARAM,WPARAM,INT,INT);
#define BN_UNHILITE 3 #define BN_UNHILITE 3
#define BN_DISABLE 4 #define BN_DISABLE 4
#define BN_DOUBLECLICKED 5 #define BN_DOUBLECLICKED 5
#define BN_DBLCLK BN_DOUBLECLICKED
/* Button states */ /* Button states */
#define BST_UNCHECKED 0x0000 #define BST_UNCHECKED 0x0000