Changeset 21916 for trunk/include/win
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/include/win/commdlg.h
r21497 r21916 182 182 HWND hInstance; 183 183 DWORD rgbResult; 184 LPDWORD *lpCustColors;184 LPDWORD lpCustColors; 185 185 DWORD Flags; 186 186 DWORD lCustData; -
trunk/include/win/dde.h
r7869 r21916 28 28 #define WM_DDE_LAST WM_DDE_EXECUTE 29 29 #define WM_DDE_FIRST WM_DDE_INITIATE 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif 30 34 31 35 /* DDEACK: wStatus in WM_DDE_ACK message */ … … 75 79 LPARAM WINAPI ReuseDDElParam(LPARAM,UINT,UINT,UINT,UINT); 76 80 81 #ifdef __cplusplus 82 } // extern "C" 83 #endif 84 77 85 #endif /* __WINE_DDE_H */ -
trunk/include/win/debugtools.h
r21352 r21916 9 9 10 10 #ifndef __MISC_H__ 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 11 15 12 16 #ifdef DEBUG … … 47 51 #endif 48 52 49 int SYSTEM WriteLog(c har *tekst, ...);50 int SYSTEM WritePrivateLog(void *logfile, c har *tekst, ...);53 int SYSTEM WriteLog(const char *tekst, ...); 54 int SYSTEM WritePrivateLog(void *logfile, const char *tekst, ...); 51 55 52 56 void SYSTEM DecreaseLogCount(); 53 57 void SYSTEM IncreaseLogCount(); 58 59 #ifdef __cplusplus 60 } // extern "C" 61 #endif 54 62 55 63 #endif //__MISC_H__ … … 169 177 # define MESSAGE WriteLog 170 178 #else 171 # define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 172 # define TRACE_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 173 # define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 174 # define FIXME_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 175 # define WARN 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 176 # define WARN_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 177 # define ERR_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 178 # define ERR 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 179 # define DPRINTF 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 180 # define MESSAGE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL) 179 #ifdef __GNUC__ 180 # define TRACE 1 ? (void) 0 : (void) 181 # define TRACE_(ch) 1 ? (void) 0 : (void) 182 # define FIXME 1 ? (void) 0 : (void) 183 # define FIXME_(ch) 1 ? (void) 0 : (void) 184 # define WARN 1 ? (void) 0 : (void) 185 # define WARN_(ch) 1 ? (void) 0 : (void) 186 # define ERR_(ch) 1 ? (void) 0 : (void) 187 # define ERR 1 ? (void) 0 : (void) 188 # define DPRINTF 1 ? (void) 0 : (void) 189 # define MESSAGE 1 ? (void) 0 : (void) 190 #else 191 # define TRACE 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 192 # define TRACE_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 193 # define FIXME 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 194 # define FIXME_(ch) 1 ? (void)0 : (void)((int (*)(constchar *, ...)) NULL) 195 # define WARN 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 196 # define WARN_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 197 # define ERR_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 198 # define ERR 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 199 # define DPRINTF 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 200 # define MESSAGE 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL) 201 #endif 181 202 #endif 182 203 #undef __GET_DEBUGGING -
trunk/include/win/dsound.h
r21572 r21916 181 181 typedef LPVOID* LPLPVOID; 182 182 183 typedef BOOL (* CALLBACK LPDSENUMCALLBACKW)(LPGUID,LP WSTR,LPWSTR,LPVOID);184 typedef BOOL (* CALLBACK LPDSENUMCALLBACKA)(LPGUID,LP STR,LPSTR,LPVOID);183 typedef BOOL (* CALLBACK LPDSENUMCALLBACKW)(LPGUID,LPCWSTR,LPCWSTR,LPVOID); 184 typedef BOOL (* CALLBACK LPDSENUMCALLBACKA)(LPGUID,LPCSTR,LPCSTR,LPVOID); 185 185 DECL_WINELIB_TYPE_AW(LPDSENUMCALLBACK) 186 186 -
trunk/include/win/global.h
r4 r21916 18 18 int shmid; 19 19 } SHMDATA; 20 21 #ifdef __cplusplus 22 extern "C" { 23 #endif 20 24 21 25 /* memory/global.c */ … … 45 49 extern BOOL ATOM_Init( WORD globalTableSel ); 46 50 51 #ifdef __cplusplus 52 } // extern "C" 53 #endif 54 47 55 #endif /* __WINE_GLOBAL_H */ -
trunk/include/win/guiddef.h
r21520 r21916 33 33 #ifndef __LPCGUID_DEFINED__ 34 34 #define __LPCGUID_DEFINED__ 35 typedef const GUID *PCGUID; 35 36 typedef const GUID *LPCGUID; 36 37 #endif -
trunk/include/win/minivcrt.h
r21506 r21916 107 107 108 108 #define swprintf NTDLL_swprintf 109 #define snwprintf NTDLL_snwprintf 109 110 #define swscanf NTDLL_swscanf 110 111 111 112 int swprintf(WCHAR*,const WCHAR*,...); 113 int snwprintf(WCHAR*,unsigned int,const WCHAR*,...); 112 114 int swscanf(const WCHAR*,const WCHAR*,...); 113 115 -
trunk/include/win/monitor.h
r1859 r21916 10 10 11 11 //#include "windef.h" 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 12 16 13 17 struct tagMONITOR_DRIVER; … … 46 50 extern void MONITOR_SetScreenSaveTimeout(MONITOR *pMonitor, int nTimeout); 47 51 52 #ifdef __cplusplus 53 } // extern "C" 54 #endif 55 48 56 #endif /* __WINE_MONITOR_H */ 49 57 -
trunk/include/win/ntddk.h
r21327 r21916 876 876 877 877 /* mathematics */ 878 #if defined(__WIN32OS2__) && defined(__IBMC__) 878 #if defined(__WIN32OS2__) && defined(WINE_LARGE_INTEGER) && !defined(WINE_LONGLONG) 879 879 880 LARGE_INTEGER WINAPI RtlpConvertLongToLargeInteger( LONG a ); 880 881 LARGE_INTEGER WINAPI RtlpEnlargedIntegerMultiply( INT a, INT b ); -
trunk/include/win/ntdef.h
r21419 r21916 9 9 #endif 10 10 11 #define NTAPI __stdcall 11 #define NTAPI __stdcall 12 12 13 13 #ifndef IN … … 27 27 #endif 28 28 29 #ifndef WINE_NTSTATUS_DECLARED 30 #define WINE_NTSTATUS_DECLARED 29 31 typedef LONG NTSTATUS; 32 #endif 33 #ifndef WINE_PNTSTATUS_DECLARED 34 #define WINE_PNTSTATUS_DECLARED 30 35 typedef NTSTATUS *PNTSTATUS; 36 #endif 31 37 38 typedef char *PSZ; 32 39 typedef CONST char *PCSZ; 33 40 34 41 typedef short CSHORT; 35 typedef CSHORT *PCSHORT; 42 typedef CSHORT *PCSHORT; 36 43 37 44 /* NT lowlevel Strings (handled by Rtl* functions in NTDLL) … … 73 80 #define OBJ_VALID_ATTRIBUTES 0x000003F2L 74 81 75 typedef struct _OBJECT_ATTRIBUTES 82 typedef struct _OBJECT_ATTRIBUTES 76 83 { ULONG Length; 77 84 HANDLE RootDirectory; -
trunk/include/win/pe_image.h
r4124 r21916 32 32 extern HGLOBAL PE_LoadResource(struct _wine_modref *wm,HRSRC); 33 33 extern HMODULE PE_LoadImage( HFILE hFile, OFSTRUCT *ofs, LPCSTR *modName ); 34 extern struct _wine_modref *PE_CreateModule( HMODULE hModule, OFSTRUCT *ofs, 34 extern struct _wine_modref *PE_CreateModule( HMODULE hModule, OFSTRUCT *ofs, 35 35 DWORD flags, BOOL builtin ); 36 extern BOOL PE_CreateProcess( HFILE hFile, OFSTRUCT *ofs, LPCSTR cmd_line, LPCSTR env, 36 extern BOOL PE_CreateProcess( HFILE hFile, OFSTRUCT *ofs, LPCSTR cmd_line, LPCSTR env, 37 37 LPSECURITY_ATTRIBUTES psa, LPSECURITY_ATTRIBUTES tsa, 38 38 BOOL inherit, LPSTARTUPINFOA startup, … … 48 48 49 49 typedef struct { 50 WORD popl WINE_PACKED;/* 0x8f 0x05 */51 DWORD addr_popped WINE_PACKED;/* ... */52 BYTE pushl1 WINE_PACKED;/* 0x68 */53 DWORD newret WINE_PACKED;/* ... */54 BYTE pushl2 WINE_PACKED;/* 0x68 */55 DWORD origfun WINE_PACKED;/* original function */56 BYTE ret1 WINE_PACKED;/* 0xc3 */57 WORD addesp WINE_PACKED;/* 0x83 0xc4 */58 BYTE nrofargs WINE_PACKED; /* nr of arguments to add esp, */59 BYTE pushl3 WINE_PACKED;/* 0x68 */60 DWORD oldret WINE_PACKED;/* Filled out from popl above */61 BYTE ret2 WINE_PACKED;/* 0xc3 */62 } ELF_STDCALL_STUB;50 WORD popl; /* 0x8f 0x05 */ 51 DWORD addr_popped;/* ... */ 52 BYTE pushl1; /* 0x68 */ 53 DWORD newret; /* ... */ 54 BYTE pushl2; /* 0x68 */ 55 DWORD origfun; /* original function */ 56 BYTE ret1; /* 0xc3 */ 57 WORD addesp; /* 0x83 0xc4 */ 58 BYTE nrofargs; /* nr of arguments to add esp, */ 59 BYTE pushl3; /* 0x68 */ 60 DWORD oldret; /* Filled out from popl above */ 61 BYTE ret2; /* 0xc3 */ 62 } WINE_PACKED ELF_STDCALL_STUB; 63 63 64 64 typedef struct { -
trunk/include/win/setupapi.h
r9402 r21916 29 29 unsigned short Data3; 30 30 unsigned char Data4[8]; 31 } GUID, *PGUID, *LPGUID; 31 } GUID; 32 #endif 33 #ifndef __LPCGUID_DEFINED__ 34 #define __LPCGUID_DEFINED__ 35 typedef const GUID *PCGUID; 36 typedef const GUID *LPCGUID; 32 37 #endif 33 38 #include <wtypes.h> -
trunk/include/win/shellapi.h
r21510 r21916 3 3 4 4 #include "windef.h" 5 6 #ifdef __cplusplus 7 extern "C" { 8 #endif 5 9 6 10 #pragma pack(1) … … 166 170 typedef WORD PRINTEROP_FLAGS; 167 171 168 typedef struct _SHNAMEMAPPINGW { 169 LPWSTR pszOldPath; 170 LPWSTR pszNewPath; 171 int cchOldPath; 172 int cchNewPath; 173 } SHNAMEMAPPINGW, *LPSHNAMEMAPPINGW; 172 typedef struct _SHNAMEMAPPINGW { 173 LPWSTR pszOldPath; 174 LPWSTR pszNewPath; 175 int cchOldPath; 176 int cchNewPath; 177 } SHNAMEMAPPINGW, *LPSHNAMEMAPPINGW; 174 178 175 179 typedef struct _SHFILEOPSTRUCTA … … 292 296 #pragma pack(4) 293 297 298 #ifdef __cplusplus 299 } // extern "C" 300 #endif 301 294 302 #endif /* _WINE_SHELLAPI_H */ -
trunk/include/win/task.h
r2651 r21916 60 60 61 61 /* Task database. See 'Windows Internals' p. 226. 62 * Note that 16-bit OLE 2 libs like to read it directly 63 * so we have to keep entry offsets as they are. 62 * Note that 16-bit OLE 2 libs like to read it directly 63 * so we have to keep entry offsets as they are. 64 64 */ 65 65 typedef struct _TDB … … 104 104 DWORD dlls_to_init; /* ac Ptr to DLLs to initialize */ 105 105 HANDLE16 hCSAlias; /* b0 Code segment for this TDB */ 106 THUNKS thunks WINE_PACKED;/* b2 Make proc instance thunks */106 THUNKS thunks; /* b2 Make proc instance thunks */ 107 107 WORD more_thunks[6*4]; /* c2 Space for 6 more thunks */ 108 108 BYTE module_name[8]; /* f2 Module name for task */ -
trunk/include/win/vfw.h
r6387 r21916 50 50 51 51 /* Installable Compressor Manager */ 52 53 DECLARE_HANDLE(HIC);54 52 55 53 #ifdef __WINE__ -
trunk/include/win/virtual.h
r7566 r21916 8 8 #define __VIRTUAL_H 9 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 10 14 HANDLE WINAPI VIRTUAL_MapFileA( LPCSTR name , LPVOID *lpMapping, BOOL fReadIntoMemory = FALSE); 11 15 HANDLE WINAPI VIRTUAL_MapFileW( LPCWSTR name , LPVOID *lpMapping, BOOL fReadIntoMemory = FALSE); … … 14 18 DWORD fdwProtect, LPSTR name); 15 19 20 #ifdef __cplusplus 21 } // extern "C" 22 #endif 23 16 24 #endif /* __VIRTUAL_H */ -
trunk/include/win/wine/debug.h
r8208 r21916 22 22 #define __WINE_WINE_DEBUG_H 23 23 24 #include <win \debugtools.h>24 #include <win/debugtools.h> 25 25 #include <stdarg.h> 26 26 -
trunk/include/win/wine/obj_base.h
r21493 r21916 703 703 typedef struct IMalloc16 IMalloc16,*LPMALLOC16; 704 704 typedef struct IMalloc IMalloc,*LPMALLOC; 705 typedef const IMalloc *LPCMALLOC; 705 706 706 707 DEFINE_OLEGUID(IID_IUnknown, 0x00000000L, 0, 0); -
trunk/include/win/wine/obj_surrogate.h
r641 r21916 46 46 #endif // __WINE_WINE_OBJ_SURROGATE_H 47 47 48 48 -
trunk/include/win/wine/winbase16.h
r641 r21916 171 171 DWORD WINAPI RegCreateKey16(HKEY,LPCSTR,LPHKEY); 172 172 DWORD WINAPI RegDeleteKey16(HKEY,LPCSTR); 173 DWORD WINAPI RegDeleteValue16(HKEY,LP STR);173 DWORD WINAPI RegDeleteValue16(HKEY,LPCSTR); 174 174 DWORD WINAPI RegEnumKey16(HKEY,DWORD,LPSTR,DWORD); 175 175 DWORD WINAPI RegEnumValue16(HKEY,DWORD,LPSTR,LPDWORD,LPDWORD,LPDWORD,LPBYTE,LPDWORD); … … 178 178 DWORD WINAPI RegQueryValueEx16(HKEY,LPSTR,LPDWORD,LPDWORD,LPBYTE,LPDWORD); 179 179 DWORD WINAPI RegSetValue16(HKEY,LPCSTR,DWORD,LPCSTR,DWORD); 180 DWORD WINAPI RegSetValueEx16(HKEY,LPSTR,DWORD,DWORD, LPBYTE,DWORD);180 DWORD WINAPI RegSetValueEx16(HKEY,LPSTR,DWORD,DWORD,const BYTE *,DWORD); 181 181 BOOL16 WINAPI RemoveDirectory16(LPCSTR); 182 182 BOOL16 WINAPI SetCurrentDirectory16(LPCSTR); -
trunk/include/win/winnls.h
r21360 r21916 560 560 */ 561 561 562 #ifdef __cplusplus 563 extern "C" { 564 #endif 565 562 566 UINT WINAPI CompareStringA(LCID,DWORD,LPCSTR,DWORD,LPCSTR,DWORD); 563 567 UINT WINAPI CompareStringW(LCID,DWORD,LPCWSTR,DWORD,LPCWSTR,DWORD); … … 633 637 INT WINAPI WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,LPBOOL); 634 638 639 #ifdef __cplusplus 640 } // extern "C" 641 #endif 642 635 643 #endif //#ifndef OS2_INCLUDED 636 644 -
trunk/include/win/winprocess.h
r8771 r21916 186 186 #define GPD_USERDATA ( 0) 187 187 188 #ifdef __cplusplus 189 extern "C" { 190 #endif 191 188 192 extern DWORD WINAPI GetProcessDword( DWORD dwProcessID, INT offset ); 189 193 void WINAPI SetProcessDword( DWORD dwProcessID, INT offset, DWORD value ); … … 214 218 extern DWORD DEBUG_SendUnloadDLLEvent( HMODULE module ); 215 219 220 #ifdef __cplusplus 221 } // extern "C" 222 #endif 223 216 224 #include <wprocess.h> 217 225 -
trunk/include/win/winreg.h
r21327 r21916 124 124 DWORD ve_type; 125 125 } VALENTW, *PVALENTW; 126 127 #ifdef __cplusplus 128 extern "C" { 129 #endif 126 130 127 131 BOOL WINAPI LookupPrivilegeValueA(LPCSTR,LPCSTR,LPVOID); … … 195 199 LONG WINAPI RegDeleteKeyW(HKEY,LPCWSTR); 196 200 #define RegDeleteKey WINELIB_NAME_AW(RegDeleteKey) 197 LONG WINAPI RegDeleteValueA(HKEY,LP STR);198 LONG WINAPI RegDeleteValueW(HKEY,LP WSTR);201 LONG WINAPI RegDeleteValueA(HKEY,LPCSTR); 202 LONG WINAPI RegDeleteValueW(HKEY,LPCWSTR); 199 203 #define RegDeleteValue WINELIB_NAME_AW(RegDeleteValue) 200 204 LSTATUS WINAPI RegDeleteTreeA(HKEY,LPCSTR); … … 219 223 LONG WINAPI RegSetValueW(HKEY,LPCWSTR,DWORD,LPCWSTR,DWORD); 220 224 #define RegSetValue WINELIB_NAME_AW(RegSetValue) 221 LONG WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD, LPBYTE,DWORD);222 LONG WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD, LPBYTE,DWORD);225 LONG WINAPI RegSetValueExA(HKEY,LPCSTR,DWORD,DWORD,const BYTE *,DWORD); 226 LONG WINAPI RegSetValueExW(HKEY,LPCWSTR,DWORD,DWORD,const BYTE *,DWORD); 223 227 #define RegSetValueEx WINELIB_NAME_AW(RegSetValueEx) 224 228 … … 227 231 #define RegQueryMultipleValues WINELIB_NAME_AW(RegQueryMultipleValues) 228 232 233 #ifdef __cplusplus 234 } // extern "C" 235 #endif 236 229 237 #endif /* __WINE_WINREG_H */ -
trunk/include/win/winuser.h
r21553 r21916 3205 3205 #define DI_DEFAULTSIZE 8 3206 3206 3207 3207 /* misc messages */ 3208 3208 #define WM_NULL 0x0000 3209 #define WM_CPL_LAUNCH (WM_USER + 1000)3210 #define WM_CPL_LAUNCHED (WM_USER + 1001)3211 3209 3212 3210 /* WM_NOTIFYFORMAT commands and return values */
Note:
See TracChangeset
for help on using the changeset viewer.