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

;
; These functions are commented out and do not get throwing wrappers, for a variety
; of better and worse reasons. Scroll down past this comment to see the list
; of functions that are wrapped. As well, functions that return void are
; mechanically filtered.
;
;
;CertGetNameStringW UNDONE odd
;CloseHandle UNDONE only fails on bad parameters
;DelayLoadFailureHook
;DeleteCriticalSection ?never fails?
;EnterCriticalSection ?never fails?
;FindClose ?never fails?
;FormatMessageA ANSI
;FreeLibrary ?never fails?
;GetACP ?never fails?
;GetCommandLineA ANSI / ?never fails?
;GetCurrentProcessId ?never fails?
;GetCurrentThreadId ?never fails?
;GetLastError ?never fails?
;GetOEMCP non-Unicode / ?never fails?
;GetStartupInfoA ANSI
;GetStringTypeA ANSI
;HeapDestroy ?cleanup never fails?
;HeapFree ?cleanup never fails?
;InitializeCriticalSection ?never fails?
;InitializeCriticalSectionAndSpinCount ?never fails?
;InterlockedCompareExchange never fails
;InterlockedDecrement never fails
;InterlockedExchange never fails
;InterlockedIncrement never fails
;IsBadCodePtr ?never fails?
;IsBadReadPtr ?never fails?
;IsBadWritePtr ?never fails?
;IsDebuggerPresent never fails
;LCMapStringA ANSI
;LeaveCriticalSection never fails, at least not in WinXP
;LocalFree ?cleanup never fails?
;lstrlenW ?never fails?
;OutputDebugStringA debugging infrastructure
;RaiseException exception handling infrastructure
;RtlNtStatusToDosError error conversion infrastructure
;RtlNtStatusToDosErrorNoTeb error conversion infrastructure
;RtlUnwind exception handling infrastructure
;RtlUpcaseUnicodeChar ?never fails?
;Sleep never fails
;TlsFree ?cleanup never fails?
;TlsGetValue UNDONE special case
;UnmapViewOfFile ?cleanup never fails?
;GetCurrentProcess never fails
;GetSystemMetrics If the function fails, the return value is zero.
; GetLastError does not provide extended error information
;ImageList_ReadEx UNDONE deal with REFGUID vs. const GUID*
;ImageList_WriteEx UNDONE deal with REFGUID vs. const GUID*
;RtlCompareUnicodeString ?never fails?
;RtlDetermineDosPathNameType_U ?never fails?
;RtlDowncaseUnicodeChar ?never fails?
;RtlExpandEnvironmentStrings_U ?never fails?
;RtlFindCharInUnicodeString ?never fails?
;RtlFirstEntrySList ?never fails?
;RtlGetFrame ?never fails?
;RtlHashUnicodeString ?never fails?
;RtlInitializeSListHead ?never fails?
;RtlInterlockedPopEntrySList ?never fails?
;RtlInterlockedPushEntrySList ?never fails?
;RtlPopFrame ?never fails?
;RtlPushFrame ?never fails?
;RtlSetLastWin32ErrorAndNtStatusFromNtStatus ?never fails? part of error handling infrastructure
;RtlUnhandledExceptionFilter ?never fails?
;SetErrorMode ?never fails?
;SetHandleCount OBSOLETE
;UuidCreate JayKrell is LAZY, this is an oddball function, maybe
; we treat it like hresult/ntstatus..
;VirtualQuery never fails, just returns zero bytes
;GetDriveTypeW
;GetFileType
;NtQueryDebugFilterState unusual return protocol, failure is very rare, speed is important
CertCloseStore
CertCreateCTLContext
CertFindCertificateInStore
CertFindSubjectInCTL
CertFreeCertificateContext
CertFreeCTLContext
CertGetPublicKeyLength
CertOpenStore
CopyFileA
CopyFileW
CopyFileExA
CopyFileExW
CreateDirectoryW
CreateEventW
CreateFileMappingW
CreateFileW
CreateThread
CreateWindowExW
CryptAcquireContextW
CryptCreateHash
CryptDestroyHash
CryptDestroyKey
CryptExportKey
CryptGetHashParam
CryptHashData
CryptImportPublicKeyInfoEx
CryptMsgGetAndVerifySigner
CryptReleaseContext
CryptVerifyMessageSignature
DeleteFileW
DialogBoxParamW
ElfDeregisterEventSource
ElfRegisterEventSourceW
ElfReportEventW
EndDialog
EnumResourceNamesW
FileTimeToSystemTime
FindActCtxSectionGuid
FindActCtxSectionStringW
FindFirstFileW
FindNextFileW
FindResourceExW
FlashWindowEx
FlushFileBuffers
FormatMessageW
GetCPInfo
GetDateFormatW
GetDlgItemTextW
GetFileAttributesExW
GetFileAttributesW
GetFileInformationByHandle
GetFileSize
GetFileSizeEx
GetFileVersionInfoA
GetFileVersionInfoW
GetFileVersionInfoSizeA
GetFileVersionInfoSizeW
GetFullPathNameW
GetLocaleInfoA
GetLocaleInfoW
GetLogicalDriveStringsW
GetModuleFileNameA
GetModuleFileNameW
GetModuleHandleA
GetModuleHandleW
GetProcAddress
GetProcessHeap
GetShortPathNameW
GetStdHandle
GetStringTypeW
GetSystemDefaultUILanguage
GetSystemInfo
GetTimeFormatW
GetUserDefaultLangID
GetUserDefaultUILanguage
GetVersionExA
GetVolumeInformationW
GetVolumePathNameW
GetWindowRect
HeapAlloc
HeapCreate
ImageList_Create
ImageList_Destroy
ImageList_GetImageCount
InitCommonControlsEx
InitializeFlatSB
LCMapStringW
LoadLibraryExW
LoadLibraryW
LoadLibraryExA
LoadLibraryA
LoadResource
LoadStringW
LocalAlloc
LockResource
MapViewOfFile
MapViewOfFile
MapViewOfFileEx
MessageBoxW
MoveFileExW
MoveWindow
MultiByteToWideChar
NtAllocateLocallyUniqueId
NtDeleteKey
OpenEventW
OpenInputDesktop
PostMessageA
QueueUserWorkItem
ReadDirectoryChangesW
ReadFile
RegCloseKey
RegCreateKeyExW
RegDeleteKeyW
RegDeleteValueW
RegEnumKeyExW
RegEnumValueW
RegisterDeviceNotificationA
RegisterWindowMessageW
RegOpenKeyExW
RegQueryInfoKeyW
RegQueryValueExW
RegQueryValueExW
RegSetValueExW
RemoveDirectoryW
ResetEvent
SetDlgItemTextW
SetEvent
SetFileAttributesW
SetFilePointer
SetFilePointerEx
SetForegroundWindow
SetLastError
SetStdHandle
SetThreadDesktop
SetupGetFileCompressionInfoW
SetupQueueCopyW
ShowWindow
SizeofResource
TlsAlloc
TlsSetValue
UninitializeFlatSB
UnregisterDeviceNotification
VerQueryValueA
VerQueryValueW
VirtualAlloc
VirtualProtect
WaitForMultipleObjects
WaitForMultipleObjectsEx
WaitForSingleObject
WaitForSingleObjectEx
WideCharToMultiByte
WriteConsoleA
WriteFile
BindImage
BindImageEx
ReBaseImage
ReBaseImage64
CheckSumMappedFile
;MapFileAndCheckSumA ;; special case I don't need
;MapFileAndCheckSumW ;; special case I don't need
GetImageConfigInformation
GetImageUnusedHeaderBytes
SetImageConfigInformation
ImageGetDigestStream
ImageAddCertificate
ImageRemoveCertificate
ImageEnumerateCertificates
ImageGetCertificateData
ImageGetCertificateHeader
ImageLoad
ImageUnload
MapAndLoad
UnMapAndLoad
TouchFileTimes
;SplitSymbols ;; missing on ia64 and we don't use it
UpdateDebugInfoFile
UpdateDebugInfoFileEx
FindDebugInfoFile
FindDebugInfoFileEx
SymFindFileInPath
FindExecutableImage
FindExecutableImageEx
ImageNtHeader
ImageDirectoryEntryToDataEx
ImageDirectoryEntryToData
ImageRvaToSection
ImageRvaToVa
MapDebugInformation
UnmapDebugInformation
SearchTreeForFile
MakeSureDirectoryPathExists
UnDecorateSymbolName
StackWalk64
StackWalk
;ImagehlpApiVersion ;; isn't supposed to fail, and we don't use it
;ImagehlpApiVersionEx ;; isn't supposed to fail, and we don't use it
GetTimestampForLoadedLibrary
;SymSetOptions ;; isn't supposed to fail, and we don't use it
;SymGetOptions ;; isn't supposed to fail, and we don't use it
SymCleanup
SymMatchString
SymEnumSourceFiles
SymEnumerateModules64
SymEnumerateModules
SymEnumerateSymbols64
SymEnumerateSymbolsW64
SymEnumerateSymbols
SymEnumerateSymbolsW
EnumerateLoadedModules64
EnumerateLoadedModules
SymFunctionTableAccess64
SymFunctionTableAccess
SymGetModuleInfo64
SymGetModuleInfoW64
SymGetModuleInfo
SymGetModuleInfoW
SymGetModuleBase64
SymGetModuleBase
SymGetSymNext64
SymGetSymNext
SymGetSymPrev64
SymGetSymPrev
SymGetLineFromAddr64
SymGetLineFromAddr
SymGetLineFromName64
SymGetLineFromName
SymGetLineNext64
SymGetLineNext
SymGetLinePrev64
SymGetLinePrev
SymMatchFileName
SymInitialize
SymGetSearchPath
SymSetSearchPath
SymLoadModule64
;SymLoadModuleEx ;; not in the docs I have and we don't use it
SymLoadModule
SymUnloadModule64
SymUnloadModule
SymUnDName64
SymUnDName
SymRegisterCallback64
SymRegisterFunctionEntryCallback64
SymRegisterCallback
SymRegisterFunctionEntryCallback
;SymSetContext ;; not in the docs I have and we don't use it
SymFromAddr
SymFromName
SymEnumSymbols
SymGetTypeInfo
SymEnumTypes
SymGetTypeFromName
;DbgHelpCreateUserDump
;DbgHelpCreateUserDumpW
SymGetSymFromAddr64
SymGetSymFromAddr
SymGetSymFromName64
SymGetSymFromName
;FindFileInPath ;; deprecated
;FindFileInSearchPath ;; deprecated
;SymEnumSym ;; deprecated
;MiniDumpWriteDump
;MiniDumpReadDumpStream
;