From: notaz Date: Wed, 12 Feb 2014 01:47:25 +0000 (+0200) Subject: more stuff storm needs X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef6b315df434af2d9f1336be3247a08b816306a4;p=ia32rtools.git more stuff storm needs --- diff --git a/tools/protoparse.h b/tools/protoparse.h index ab16632..0900243 100644 --- a/tools/protoparse.h +++ b/tools/protoparse.h @@ -162,6 +162,7 @@ static const char *known_ptr_types[] = { "HKEY", "HMENU", "HWND", + "PBYTE", "PCRITICAL_SECTION", "PDWORD", "PFILETIME", @@ -171,6 +172,7 @@ static const char *known_ptr_types[] = { "PUINT", "PVOID", "PCVOID", + "PWORD", "DLGPROC", "TIMERPROC", "WNDENUMPROC", diff --git a/win32.hlist b/win32.hlist index f831854..6556715 100644 --- a/win32.hlist +++ b/win32.hlist @@ -15,6 +15,27 @@ WINBASEAPI LPVOID WINAPI CreateFiber(SIZE_T,LPFIBER_START_ROUTINE,LPVOID); WINBASEAPI LPVOID WINAPI CreateFiberEx(SIZE_T,SIZE_T,DWORD,LPFIBER_START_ROUTINE,LPVOID); WINBASEAPI HANDLE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); WINBASEAPI HANDLE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE); +WINBASEAPI HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,DWORD,DWORD,LPCWSTR); +WINBASEAPI BOOL WINAPI CreateHardLinkA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES); +WINBASEAPI BOOL WINAPI CreateHardLinkW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES); +WINBASEAPI HANDLE WINAPI CreateIoCompletionPort(HANDLE,HANDLE,ULONG_PTR,DWORD); +WINBASEAPI HANDLE WINAPI CreateJobObjectA(LPSECURITY_ATTRIBUTES,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateJobObjectW(LPSECURITY_ATTRIBUTES,LPCWSTR); +WINBASEAPI BOOL WINAPI TerminateJobObject(HANDLE,UINT); +WINBASEAPI BOOL WINAPI AssignProcessToJobObject(HANDLE,HANDLE); +WINBASEAPI BOOL WINAPI SetInformationJobObject(HANDLE, JOBOBJECTINFOCLASS, LPVOID, DWORD); +WINBASEAPI BOOL WINAPI QueryInformationJobObject(HANDLE, JOBOBJECTINFOCLASS, LPVOID, DWORD, LPDWORD); +WINBASEAPI HANDLE WINAPI CreateMailslotA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +WINBASEAPI HANDLE WINAPI CreateMailslotW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +WINBASEAPI HANDLE WINAPI CreateMemoryResourceNotification(MEMORY_RESOURCE_NOTIFICATION_TYPE); +WINBASEAPI HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); +WINBASEAPI HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); +WINBASEAPI HANDLE WINAPI CreateNamedPipeA(LPCSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +WINBASEAPI HANDLE WINAPI CreateNamedPipeW(LPCWSTR,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,LPSECURITY_ATTRIBUTES); +WINBASEAPI BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD); +WINBASEAPI BOOL WINAPI CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR*,BOOL,HANDLE,PGENERIC_MAPPING); + WINBASEAPI BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,LPSECURITY_ATTRIBUTES,BOOL,DWORD,PVOID,LPCSTR,LPSTARTUPINFOA,LPPROCESS_INFORMATION); WINBASEAPI HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,PVOID,DWORD,PDWORD); WINBASEAPI void WINAPI DeleteCriticalSection(PCRITICAL_SECTION); @@ -50,6 +71,8 @@ WINBASEAPI DWORD WINAPI FormatMessageW(DWORD,PCVOID,DWORD,DWORD,LPWSTR,DWORD,va_ WINBASEAPI BOOL WINAPI FreeEnvironmentStringsA(LPSTR); WINBASEAPI BOOL WINAPI FreeEnvironmentStringsW(LPWSTR); WINBASEAPI BOOL WINAPI FreeLibrary(HMODULE); +DECLSPEC_NORETURN WINBASEAPI void WINAPI FreeLibraryAndExitThread(HMODULE,DWORD); +WINBASEAPI BOOL WINAPI FreeResource(HGLOBAL); WINBASEAPI PVOID WINAPI FreeSid(PSID); WINBASEAPI BOOL WINAPI GetAce(PACL,DWORD,LPVOID*); WINBASEAPI BOOL WINAPI GetAclInformation(PACL,PVOID,DWORD,ACL_INFORMATION_CLASS); @@ -438,6 +461,18 @@ WINBASEAPI BOOL WINAPI TerminateProcess(HANDLE,UINT); WINBASEAPI BOOL WINAPI TlsFree(DWORD); WINBASEAPI BOOL WINAPI TlsSetValue(DWORD,PVOID); WINBASEAPI BOOL WINAPI TryEnterCriticalSection(LPCRITICAL_SECTION); +WINBASEAPI LONG WINAPI UnhandledExceptionFilter(LPEXCEPTION_POINTERS); +WINBASEAPI BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD); +WINBASEAPI BOOL WINAPI UnlockFileEx(HANDLE,DWORD,DWORD,DWORD,LPOVERLAPPED); +WINBASEAPI BOOL WINAPI UnmapViewOfFile(PVOID); +WINBASEAPI BOOL WINAPI UnregisterWait(HANDLE); +WINBASEAPI BOOL WINAPI UnregisterWaitEx(HANDLE,HANDLE); +WINBASEAPI BOOL WINAPI UpdateResourceA(HANDLE,LPCSTR,LPCSTR,WORD,PVOID,DWORD); +WINBASEAPI BOOL WINAPI UpdateResourceW(HANDLE,LPCWSTR,LPCWSTR,WORD,PVOID,DWORD); +WINBASEAPI BOOL WINAPI VerifyVersionInfoA(LPOSVERSIONINFOEXA,DWORD,DWORDLONG); +WINBASEAPI BOOL WINAPI VerifyVersionInfoW(LPOSVERSIONINFOEXW,DWORD,DWORDLONG); +WINBASEAPI PVOID WINAPI VirtualAlloc(PVOID,DWORD,DWORD,DWORD); +WINBASEAPI PVOID WINAPI VirtualAllocEx(HANDLE,PVOID,DWORD,DWORD,DWORD); WINBASEAPI BOOL WINAPI VirtualFreeEx(HANDLE,PVOID,DWORD,DWORD); WINBASEAPI BOOL WINAPI VirtualFree(PVOID,DWORD,DWORD); WINBASEAPI BOOL WINAPI VirtualProtectEx(HANDLE,PVOID,DWORD,DWORD,PDWORD); @@ -479,13 +514,10 @@ WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP WINBASEAPI LPTOP_LEVEL_EXCEPTION_FILTER WINAPI SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER); WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void); WINBASEAPI LPWSTR WINAPI GetEnvironmentStringsW(void); -WINBASEAPI PVOID WINAPI FreeSid(PSID); WINBASEAPI PVOID WINAPI HeapAlloc(HANDLE,DWORD,DWORD); WINBASEAPI PVOID WINAPI HeapReAlloc(HANDLE,DWORD,PVOID,DWORD); WINBASEAPI PVOID WINAPI LockResource(HGLOBAL); WINBASEAPI PVOID WINAPI TlsGetValue(DWORD); -WINBASEAPI PVOID WINAPI VirtualAllocEx(HANDLE,PVOID,DWORD,DWORD,DWORD); -WINBASEAPI PVOID WINAPI VirtualAlloc(PVOID,DWORD,DWORD,DWORD); WINBASEAPI UINT WINAPI GetDriveTypeA(LPCSTR); WINBASEAPI UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT); WINBASEAPI UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT); @@ -511,7 +543,52 @@ WINGDIAPI BOOL WINAPI TextOutA(HDC,int,int,LPCSTR,int); WINGDIAPI COLORREF WINAPI SetBkColor(HDC,COLORREF); WINGDIAPI COLORREF WINAPI SetTextColor(HDC,COLORREF); WINGDIAPI HGDIOBJ WINAPI SelectObject(HDC,HGDIOBJ); +WINGDIAPI HPALETTE WINAPI SelectPalette(HDC,HPALETTE,BOOL); +WINGDIAPI int WINAPI SetAbortProc(HDC,ABORTPROC); +WINGDIAPI int WINAPI SetArcDirection(HDC,int); +WINGDIAPI LONG WINAPI SetBitmapBits(HBITMAP,DWORD,PCVOID); +WINGDIAPI BOOL WINAPI SetBitmapDimensionEx(HBITMAP,int,int,LPSIZE); +WINGDIAPI COLORREF WINAPI SetBkColor(HDC,COLORREF); WINGDIAPI int WINAPI SetBkMode(HDC,int); +WINGDIAPI UINT WINAPI SetBoundsRect(HDC,LPCRECT,UINT); +WINGDIAPI BOOL WINAPI SetBrushOrgEx(HDC,int,int,LPPOINT); +WINGDIAPI BOOL WINAPI SetColorAdjustment(HDC,const COLORADJUSTMENT*); +WINGDIAPI BOOL WINAPI SetColorSpace(HDC,HCOLORSPACE); +WINGDIAPI COLORREF WINAPI SetDCBrushColor(HDC,COLORREF); +WINGDIAPI COLORREF WINAPI SetDCPenColor(HDC,COLORREF); +WINGDIAPI BOOL WINAPI SetDeviceGammaRamp(HDC,PVOID); +WINGDIAPI UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,const RGBQUAD*); +WINGDIAPI int WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); +WINGDIAPI int WINAPI SetDIBitsToDevice(HDC,int,int,DWORD,DWORD,int,int,UINT,UINT,PCVOID,const BITMAPINFO*,UINT); +WINGDIAPI HENHMETAFILE WINAPI SetEnhMetaFileBits(UINT,const BYTE*); +WINGDIAPI int WINAPI SetGraphicsMode(HDC,int); +WINGDIAPI int WINAPI SetICMMode(HDC,int); +WINGDIAPI BOOL WINAPI SetICMProfileA(HDC,LPSTR); +WINGDIAPI BOOL WINAPI SetICMProfileW(HDC,LPWSTR); +WINGDIAPI int WINAPI SetMapMode(HDC,int); +WINGDIAPI DWORD WINAPI SetMapperFlags(HDC,DWORD); +WINGDIAPI HMETAFILE WINAPI SetMetaFileBitsEx(UINT,const BYTE *); +WINGDIAPI int WINAPI SetMetaRgn(HDC); +WINGDIAPI BOOL WINAPI SetMiterLimit(HDC,FLOAT,PFLOAT); +WINGDIAPI UINT WINAPI SetPaletteEntries(HPALETTE,UINT,UINT,const PALETTEENTRY*); +WINGDIAPI COLORREF WINAPI SetPixel(HDC,int,int,COLORREF); +WINGDIAPI BOOL WINAPI SetPixelFormat(HDC,int,const PIXELFORMATDESCRIPTOR*); +WINGDIAPI BOOL WINAPI SetPixelV(HDC,int,int,COLORREF); +WINGDIAPI int WINAPI SetPolyFillMode(HDC,int); +WINGDIAPI BOOL WINAPI SetRectRgn(HRGN,int,int,int,int); +WINGDIAPI int WINAPI SetROP2(HDC,int); +WINGDIAPI int WINAPI SetStretchBltMode(HDC,int); +WINGDIAPI UINT WINAPI SetSystemPaletteUse(HDC,UINT); +WINGDIAPI UINT WINAPI SetTextAlign(HDC,UINT); +WINGDIAPI int WINAPI SetTextCharacterExtra(HDC,int); +WINGDIAPI COLORREF WINAPI SetTextColor(HDC,COLORREF); +WINGDIAPI BOOL WINAPI SetTextJustification(HDC,int,int); +WINGDIAPI BOOL WINAPI SetViewportExtEx(HDC,int,int,LPSIZE); +WINGDIAPI BOOL WINAPI SetViewportOrgEx(HDC,int,int,LPPOINT); +WINGDIAPI BOOL WINAPI SetWindowExtEx(HDC,int,int,LPSIZE); +WINGDIAPI BOOL WINAPI SetWindowOrgEx(HDC,int,int,LPPOINT); +WINGDIAPI HENHMETAFILE WINAPI SetWinMetaFileBits(UINT,const BYTE*,HDC,const METAFILEPICT*); +WINGDIAPI BOOL WINAPI SetWorldTransform(HDC,const XFORM *); WINGDIAPI PROC WINAPI wglGetProcAddress(LPCSTR); WINGDIAPI UINT WINAPI SetTextAlign(HDC,UINT); WINGDIAPI BOOL WINAPI GetTextMetricsA(HDC,LPTEXTMETRICA);