Changeset 3409 for trunk/src/comctl32/CCBase.h
- Timestamp:
- Apr 16, 2000, 8:26:59 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/CCBase.h
r3369 r3409 1 /* $Id: CCBase.h,v 1. 8 2000-04-12 16:38:58cbratschi Exp $ */1 /* $Id: CCBase.h,v 1.9 2000-04-16 18:26:56 cbratschi Exp $ */ 2 2 /* 3 3 * COMCTL32 Base Functions and Macros for all Controls … … 46 46 VOID drawStubControl(HWND hwnd,HDC hdc); 47 47 48 #define lstrlenAW(text,unicode) (unicode ? lstrlenW((WCHAR*)text):lstrlenA((CHAR*)text)) 49 50 #define lstrcpyAW(textA,unicodeA,textB,unicodeB) (unicodeA ? (unicodeB ? lstrcpyW((WCHAR*)textA,(WCHAR*)textB):lstrcpyAtoW((WCHAR*)textA,(CHAR*)textB)):(unicodeB ? lstrcpyWtoA((CHAR*)textA,(WCHAR*)textB):lstrcpyA((CHAR*)textA,(CHAR*)textB))) 51 48 52 INT lstrcmpAtoW(CHAR *textA,WCHAR *textW); 49 53 INT lstrcmpAW(WCHAR *textA,BOOL textaunicode,WCHAR *textB,BOOL textbunicode); 54 55 //read note in CCBase.cpp! 56 INT lstrcmpniA(CHAR *textA,CHAR *textB,INT len); 57 INT lstrcmpniAtoW(CHAR *textA,WCHAR* textB,INT len); 58 INT lstrcmpniW(WCHAR *textA,WCHAR *textB,INT len); 59 INT lstrcmpniAW(WCHAR *textA,BOOL unicodeA,WCHAR *textB,BOOL unicodeB,INT len); 50 60 51 61 CHAR* lstrstrA(CHAR *text,CHAR *subtext); … … 55 65 WCHAR* lstrstrAW(WCHAR *text,BOOL textunicode,WCHAR *subtext,BOOL subtextunicode); 56 66 67 #define TICKDIFF(start,end) ((end > start) ? (end-start):(0xFFFFFFFF-start+end)) 68 57 69 #endif
Note:
See TracChangeset
for help on using the changeset viewer.