Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

342 lines
9.1 KiB

  1. ;
  2. ; These functions are commented out and do not get throwing wrappers, for a variety
  3. ; of better and worse reasons. Scroll down past this comment to see the list
  4. ; of functions that are wrapped. As well, functions that return void are
  5. ; mechanically filtered.
  6. ;
  7. ;
  8. ;CertGetNameStringW UNDONE odd
  9. ;CloseHandle UNDONE only fails on bad parameters
  10. ;DelayLoadFailureHook
  11. ;DeleteCriticalSection ?never fails?
  12. ;EnterCriticalSection ?never fails?
  13. ;FindClose ?never fails?
  14. ;FormatMessageA ANSI
  15. ;FreeLibrary ?never fails?
  16. ;GetACP ?never fails?
  17. ;GetCommandLineA ANSI / ?never fails?
  18. ;GetCurrentProcessId ?never fails?
  19. ;GetCurrentThreadId ?never fails?
  20. ;GetLastError ?never fails?
  21. ;GetOEMCP non-Unicode / ?never fails?
  22. ;GetStartupInfoA ANSI
  23. ;GetStringTypeA ANSI
  24. ;HeapDestroy ?cleanup never fails?
  25. ;HeapFree ?cleanup never fails?
  26. ;InitializeCriticalSection ?never fails?
  27. ;InitializeCriticalSectionAndSpinCount ?never fails?
  28. ;InterlockedCompareExchange never fails
  29. ;InterlockedDecrement never fails
  30. ;InterlockedExchange never fails
  31. ;InterlockedIncrement never fails
  32. ;IsBadCodePtr ?never fails?
  33. ;IsBadReadPtr ?never fails?
  34. ;IsBadWritePtr ?never fails?
  35. ;IsDebuggerPresent never fails
  36. ;LCMapStringA ANSI
  37. ;LeaveCriticalSection never fails, at least not in WinXP
  38. ;LocalFree ?cleanup never fails?
  39. ;lstrlenW ?never fails?
  40. ;OutputDebugStringA debugging infrastructure
  41. ;RaiseException exception handling infrastructure
  42. ;RtlNtStatusToDosError error conversion infrastructure
  43. ;RtlNtStatusToDosErrorNoTeb error conversion infrastructure
  44. ;RtlUnwind exception handling infrastructure
  45. ;RtlUpcaseUnicodeChar ?never fails?
  46. ;Sleep never fails
  47. ;TlsFree ?cleanup never fails?
  48. ;TlsGetValue UNDONE special case
  49. ;UnmapViewOfFile ?cleanup never fails?
  50. ;GetCurrentProcess never fails
  51. ;GetSystemMetrics If the function fails, the return value is zero.
  52. ; GetLastError does not provide extended error information
  53. ;ImageList_ReadEx UNDONE deal with REFGUID vs. const GUID*
  54. ;ImageList_WriteEx UNDONE deal with REFGUID vs. const GUID*
  55. ;RtlCompareUnicodeString ?never fails?
  56. ;RtlDetermineDosPathNameType_U ?never fails?
  57. ;RtlDowncaseUnicodeChar ?never fails?
  58. ;RtlExpandEnvironmentStrings_U ?never fails?
  59. ;RtlFindCharInUnicodeString ?never fails?
  60. ;RtlFirstEntrySList ?never fails?
  61. ;RtlGetFrame ?never fails?
  62. ;RtlHashUnicodeString ?never fails?
  63. ;RtlInitializeSListHead ?never fails?
  64. ;RtlInterlockedPopEntrySList ?never fails?
  65. ;RtlInterlockedPushEntrySList ?never fails?
  66. ;RtlPopFrame ?never fails?
  67. ;RtlPushFrame ?never fails?
  68. ;RtlSetLastWin32ErrorAndNtStatusFromNtStatus ?never fails? part of error handling infrastructure
  69. ;RtlUnhandledExceptionFilter ?never fails?
  70. ;SetErrorMode ?never fails?
  71. ;SetHandleCount OBSOLETE
  72. ;UuidCreate JayKrell is LAZY, this is an oddball function, maybe
  73. ; we treat it like hresult/ntstatus..
  74. ;VirtualQuery never fails, just returns zero bytes
  75. ;GetDriveTypeW
  76. ;GetFileType
  77. ;NtQueryDebugFilterState unusual return protocol, failure is very rare, speed is important
  78. CertCloseStore
  79. CertCreateCTLContext
  80. CertFindCertificateInStore
  81. CertFindSubjectInCTL
  82. CertFreeCertificateContext
  83. CertFreeCTLContext
  84. CertGetPublicKeyLength
  85. CertOpenStore
  86. CopyFileA
  87. CopyFileW
  88. CopyFileExA
  89. CopyFileExW
  90. CreateDirectoryW
  91. CreateEventW
  92. CreateFileMappingW
  93. CreateFileW
  94. CreateThread
  95. CreateWindowExW
  96. CryptAcquireContextW
  97. CryptCreateHash
  98. CryptDestroyHash
  99. CryptDestroyKey
  100. CryptExportKey
  101. CryptGetHashParam
  102. CryptHashData
  103. CryptImportPublicKeyInfoEx
  104. CryptMsgGetAndVerifySigner
  105. CryptReleaseContext
  106. CryptVerifyMessageSignature
  107. DeleteFileW
  108. DialogBoxParamW
  109. ElfDeregisterEventSource
  110. ElfRegisterEventSourceW
  111. ElfReportEventW
  112. EndDialog
  113. EnumResourceNamesW
  114. FileTimeToSystemTime
  115. FindActCtxSectionGuid
  116. FindActCtxSectionStringW
  117. FindFirstFileW
  118. FindNextFileW
  119. FindResourceExW
  120. FlashWindowEx
  121. FlushFileBuffers
  122. FormatMessageW
  123. GetCPInfo
  124. GetDateFormatW
  125. GetDlgItemTextW
  126. GetFileAttributesExW
  127. GetFileAttributesW
  128. GetFileInformationByHandle
  129. GetFileSize
  130. GetFileSizeEx
  131. GetFileVersionInfoA
  132. GetFileVersionInfoW
  133. GetFileVersionInfoSizeA
  134. GetFileVersionInfoSizeW
  135. GetFullPathNameW
  136. GetLocaleInfoA
  137. GetLocaleInfoW
  138. GetLogicalDriveStringsW
  139. GetModuleFileNameA
  140. GetModuleFileNameW
  141. GetModuleHandleA
  142. GetModuleHandleW
  143. GetProcAddress
  144. GetProcessHeap
  145. GetShortPathNameW
  146. GetStdHandle
  147. GetStringTypeW
  148. GetSystemDefaultUILanguage
  149. GetSystemInfo
  150. GetTimeFormatW
  151. GetUserDefaultLangID
  152. GetUserDefaultUILanguage
  153. GetVersionExA
  154. GetVolumeInformationW
  155. GetVolumePathNameW
  156. GetWindowRect
  157. HeapAlloc
  158. HeapCreate
  159. ImageList_Create
  160. ImageList_Destroy
  161. ImageList_GetImageCount
  162. InitCommonControlsEx
  163. InitializeFlatSB
  164. LCMapStringW
  165. LoadLibraryExW
  166. LoadLibraryW
  167. LoadLibraryExA
  168. LoadLibraryA
  169. LoadResource
  170. LoadStringW
  171. LocalAlloc
  172. LockResource
  173. MapViewOfFile
  174. MapViewOfFile
  175. MapViewOfFileEx
  176. MessageBoxW
  177. MoveFileExW
  178. MoveWindow
  179. MultiByteToWideChar
  180. NtAllocateLocallyUniqueId
  181. NtDeleteKey
  182. OpenEventW
  183. OpenInputDesktop
  184. PostMessageA
  185. QueueUserWorkItem
  186. ReadDirectoryChangesW
  187. ReadFile
  188. RegCloseKey
  189. RegCreateKeyExW
  190. RegDeleteKeyW
  191. RegDeleteValueW
  192. RegEnumKeyExW
  193. RegEnumValueW
  194. RegisterDeviceNotificationA
  195. RegisterWindowMessageW
  196. RegOpenKeyExW
  197. RegQueryInfoKeyW
  198. RegQueryValueExW
  199. RegQueryValueExW
  200. RegSetValueExW
  201. RemoveDirectoryW
  202. ResetEvent
  203. SetDlgItemTextW
  204. SetEvent
  205. SetFileAttributesW
  206. SetFilePointer
  207. SetFilePointerEx
  208. SetForegroundWindow
  209. SetLastError
  210. SetStdHandle
  211. SetThreadDesktop
  212. SetupGetFileCompressionInfoW
  213. SetupQueueCopyW
  214. ShowWindow
  215. SizeofResource
  216. TlsAlloc
  217. TlsSetValue
  218. UninitializeFlatSB
  219. UnregisterDeviceNotification
  220. VerQueryValueA
  221. VerQueryValueW
  222. VirtualAlloc
  223. VirtualProtect
  224. WaitForMultipleObjects
  225. WaitForMultipleObjectsEx
  226. WaitForSingleObject
  227. WaitForSingleObjectEx
  228. WideCharToMultiByte
  229. WriteConsoleA
  230. WriteFile
  231. BindImage
  232. BindImageEx
  233. ReBaseImage
  234. ReBaseImage64
  235. CheckSumMappedFile
  236. ;MapFileAndCheckSumA ;; special case I don't need
  237. ;MapFileAndCheckSumW ;; special case I don't need
  238. GetImageConfigInformation
  239. GetImageUnusedHeaderBytes
  240. SetImageConfigInformation
  241. ImageGetDigestStream
  242. ImageAddCertificate
  243. ImageRemoveCertificate
  244. ImageEnumerateCertificates
  245. ImageGetCertificateData
  246. ImageGetCertificateHeader
  247. ImageLoad
  248. ImageUnload
  249. MapAndLoad
  250. UnMapAndLoad
  251. TouchFileTimes
  252. ;SplitSymbols ;; missing on ia64 and we don't use it
  253. UpdateDebugInfoFile
  254. UpdateDebugInfoFileEx
  255. FindDebugInfoFile
  256. FindDebugInfoFileEx
  257. SymFindFileInPath
  258. FindExecutableImage
  259. FindExecutableImageEx
  260. ImageNtHeader
  261. ImageDirectoryEntryToDataEx
  262. ImageDirectoryEntryToData
  263. ImageRvaToSection
  264. ImageRvaToVa
  265. MapDebugInformation
  266. UnmapDebugInformation
  267. SearchTreeForFile
  268. MakeSureDirectoryPathExists
  269. UnDecorateSymbolName
  270. StackWalk64
  271. StackWalk
  272. ;ImagehlpApiVersion ;; isn't supposed to fail, and we don't use it
  273. ;ImagehlpApiVersionEx ;; isn't supposed to fail, and we don't use it
  274. GetTimestampForLoadedLibrary
  275. ;SymSetOptions ;; isn't supposed to fail, and we don't use it
  276. ;SymGetOptions ;; isn't supposed to fail, and we don't use it
  277. SymCleanup
  278. SymMatchString
  279. SymEnumSourceFiles
  280. SymEnumerateModules64
  281. SymEnumerateModules
  282. SymEnumerateSymbols64
  283. SymEnumerateSymbolsW64
  284. SymEnumerateSymbols
  285. SymEnumerateSymbolsW
  286. EnumerateLoadedModules64
  287. EnumerateLoadedModules
  288. SymFunctionTableAccess64
  289. SymFunctionTableAccess
  290. SymGetModuleInfo64
  291. SymGetModuleInfoW64
  292. SymGetModuleInfo
  293. SymGetModuleInfoW
  294. SymGetModuleBase64
  295. SymGetModuleBase
  296. SymGetSymNext64
  297. SymGetSymNext
  298. SymGetSymPrev64
  299. SymGetSymPrev
  300. SymGetLineFromAddr64
  301. SymGetLineFromAddr
  302. SymGetLineFromName64
  303. SymGetLineFromName
  304. SymGetLineNext64
  305. SymGetLineNext
  306. SymGetLinePrev64
  307. SymGetLinePrev
  308. SymMatchFileName
  309. SymInitialize
  310. SymGetSearchPath
  311. SymSetSearchPath
  312. SymLoadModule64
  313. ;SymLoadModuleEx ;; not in the docs I have and we don't use it
  314. SymLoadModule
  315. SymUnloadModule64
  316. SymUnloadModule
  317. SymUnDName64
  318. SymUnDName
  319. SymRegisterCallback64
  320. SymRegisterFunctionEntryCallback64
  321. SymRegisterCallback
  322. SymRegisterFunctionEntryCallback
  323. ;SymSetContext ;; not in the docs I have and we don't use it
  324. SymFromAddr
  325. SymFromName
  326. SymEnumSymbols
  327. SymGetTypeInfo
  328. SymEnumTypes
  329. SymGetTypeFromName
  330. ;DbgHelpCreateUserDump
  331. ;DbgHelpCreateUserDumpW
  332. SymGetSymFromAddr64
  333. SymGetSymFromAddr
  334. SymGetSymFromName64
  335. SymGetSymFromName
  336. ;FindFileInPath ;; deprecated
  337. ;FindFileInSearchPath ;; deprecated
  338. ;SymEnumSym ;; deprecated
  339. ;MiniDumpWriteDump
  340. ;MiniDumpReadDumpStream
  341. ;