Changeset 165
- Timestamp:
- 12/02/06 19:09:54 (5 years ago)
- Files:
-
- trunk/win32/aclui.d (modified) (1 diff)
- trunk/win32/httpext.d (modified) (1 diff)
- trunk/win32/lm.d (modified) (3 diffs)
- trunk/win32/lmmsg.d (modified) (1 diff)
- trunk/win32/oleauto.d (modified) (1 diff)
- trunk/win32/psapi.d (modified) (7 diffs)
- trunk/win32/rasdlg.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/win32/aclui.d
r155 r165 101 101 alias ISecurityInformation* LPSECURITYINFO; 102 102 103 /* 103 /* Comment from MinGW 104 104 * TODO: ISecurityInformation2, IEffectivePermission, ISecurityObjectTypeInfo 105 105 */ trunk/win32/httpext.d
r155 r165 10 10 module win32.httpext; 11 11 12 /* 12 /* Comment from MinGW 13 13 httpext.h - Header for ISAPI extensions. 14 14 trunk/win32/lm.d
r155 r165 23 23 public import win32.lmat; 24 24 public import win32.lmerr; 25 public import win32.lmmsg;26 25 public import win32.lmshare; 27 26 public import win32.lmapibuf; … … 29 28 public import win32.lmrepl; 30 29 public import win32.lmuse; 30 public import win32.lmstats; 31 31 32 32 version (WIN32_WINNT_ONLY) { … … 34 34 public import win32.lmserver; 35 35 } 36 public import win32.lmstats; 36 version (Windows2003) { 37 public import win32.lmmsg; 38 } else version (WindowsXP) { 39 public import win32.lmmsg; 40 } 37 41 38 42 // FIXME: Everything in these next files seems to be deprecated! trunk/win32/lmmsg.d
r155 r165 11 11 pragma(lib, "netapi32.lib"); 12 12 13 private import win32.lmcons, win32.windef ;13 private import win32.lmcons, win32.windef, win32.w32api; 14 14 15 // NOTE: Requires Windows XP or later 15 static if (!_WIN32_WINNT_ONLY || _WIN32_WINNT < 0x501) { 16 pragma(msg, 17 "win32.lmmsg is available only if version WindowsXP or Windows2003 is set"); 18 static assert (false); 19 } 16 20 17 21 const MSGNAME_NOT_FORWARDED = 0; trunk/win32/oleauto.d
r155 r165 210 210 } 211 211 212 align: 213 214 215 216 // DAC: In MinGW, these were declared but not defined in oaidl. 217 // The SDK docs suggest they belong in this file instead. 212 213 // DAC: In MinGW, these were declared but not defined in oaidl. 214 // The SDK docs suggest they belong in this file instead. 218 215 219 216 deprecated { // not actually deprecated, but they aren't converted yet. trunk/win32/psapi.d
r154 r165 1 /* 2 * Process status API (PSAPI) 3 * http://windowssdk.msdn.microsoft.com/library/ms684884.aspx 1 /***********************************************************************\ 2 * psapi.d * 3 * * 4 * Windows API header module * 5 * * 6 * Translated from MinGW Windows headers * 7 * * 8 * Placed into public domain * 9 \***********************************************************************/ 10 /* Comment from MinGW 11 * Process status API (PSAPI) 12 * http://windowssdk.msdn.microsoft.com/library/ms684884.aspx 4 13 */ 5 14 … … 10 19 private import win32.windef; 11 20 12 13 alias MODULEINFO* LPMODULEINFO; 14 struct MODULEINFO 15 { 21 struct MODULEINFO { 16 22 LPVOID lpBaseOfDll; 17 23 DWORD SizeOfImage; 18 24 LPVOID EntryPoint; 19 25 } 26 alias MODULEINFO* LPMODULEINFO; 20 27 21 alias PSAPI_WS_WATCH_INFORMATION* PPSAPI_WS_WATCH_INFORMATION; 22 struct PSAPI_WS_WATCH_INFORMATION 23 { 28 struct PSAPI_WS_WATCH_INFORMATION { 24 29 LPVOID FaultingPc; 25 30 LPVOID FaultingVa; 26 31 } 32 alias PSAPI_WS_WATCH_INFORMATION* PPSAPI_WS_WATCH_INFORMATION; 27 33 28 alias PSAPI_WS_WATCH_INFORMATION_EX* PPSAPI_WS_WATCH_INFORMATION_EX; 29 struct PSAPI_WS_WATCH_INFORMATION_EX 30 { 34 struct PSAPI_WS_WATCH_INFORMATION_EX { 31 35 PSAPI_WS_WATCH_INFORMATION BasicInfo; 32 36 ULONG_PTR FaultingThreadId; 33 37 ULONG_PTR Flags; 34 } 38 } 39 alias PSAPI_WS_WATCH_INFORMATION_EX* PPSAPI_WS_WATCH_INFORMATION_EX; 35 40 36 alias PROCESS_MEMORY_COUNTERS* PPROCESS_MEMORY_COUNTERS; 37 struct PROCESS_MEMORY_COUNTERS 38 { 41 struct PROCESS_MEMORY_COUNTERS { 39 42 DWORD cb; 40 43 DWORD PageFaultCount; … … 48 51 DWORD PeakPagefileUsage; 49 52 } 53 alias PROCESS_MEMORY_COUNTERS* PPROCESS_MEMORY_COUNTERS; 50 54 51 alias PERFORMANCE_INFORMATION* PPERFORMANCE_INFORMATION; 52 struct PERFORMANCE_INFORMATION 53 { 55 struct PERFORMANCE_INFORMATION { 54 56 DWORD cb; 55 57 SIZE_T CommitTotal; … … 67 69 DWORD ThreadCount; 68 70 } 71 alias PERFORMANCE_INFORMATION* PPERFORMANCE_INFORMATION; 69 72 70 alias ENUM_PAGE_FILE_INFORMATION* PENUM_PAGE_FILE_INFORMATION; 71 struct ENUM_PAGE_FILE_INFORMATION 72 { 73 struct ENUM_PAGE_FILE_INFORMATION { 73 74 DWORD cb; 74 75 DWORD Reserved; … … 77 78 SIZE_T PeakUsage; 78 79 } 80 alias ENUM_PAGE_FILE_INFORMATION* PENUM_PAGE_FILE_INFORMATION; 79 81 80 82 /* application-defined callback function used with the EnumPageFiles() 81 83 * http://windowssdk.msdn.microsoft.com/library/ms682627.aspx */ 82 version (Unicode) 83 alias BOOL function(LPVOID, PENUM_PAGE_FILE_INFORMATION, LPCWSTR) PENUM_PAGE_FILE_CALLBACK; 84 else 85 alias BOOL function(LPVOID, PENUM_PAGE_FILE_INFORMATION, LPCSTR) PENUM_PAGE_FILE_CALLBACK; 84 version (Unicode) { 85 alias BOOL function(LPVOID, PENUM_PAGE_FILE_INFORMATION, LPCWSTR) 86 PENUM_PAGE_FILE_CALLBACK; 87 } else { 88 alias BOOL function(LPVOID, PENUM_PAGE_FILE_INFORMATION, LPCSTR) 89 PENUM_PAGE_FILE_CALLBACK; 90 } 86 91 87 88 /* Grouped by application,not in alphabetical order. */ 89 extern (Windows) 90 { 92 // Grouped by application, not in alphabetical order. 93 extern (Windows) { 91 94 /* Process Information 92 95 * http://windowssdk.msdn.microsoft.com/library/ms684870.aspx */ … … 137 140 } 138 141 139 version (Unicode) 140 { 142 version (Unicode) { 141 143 alias GetModuleBaseNameW GetModuleBaseName; 142 144 alias GetModuleFileNameExW GetModuleFileNameEx; … … 146 148 alias EnumPageFilesW EnumPageFiles; 147 149 alias GetProcessImageFileNameW GetProcessImageFileName; 148 } 149 else 150 { 150 } else { 151 151 alias GetModuleBaseNameA GetModuleBaseName; 152 152 alias GetModuleFileNameExA GetModuleFileNameEx; trunk/win32/rasdlg.d
r163 r165 1 1 /***********************************************************************\ 2 * rapi.d*2 * rasdlg.d * 3 3 * * 4 4 * Windows API header module *
