Add winproxy.MessageBox[AW]

This commit is contained in:
Clement Rouault
2017-06-07 11:39:37 +02:00
parent 1a73fe713b
commit 4c8747b628
3 changed files with 36 additions and 2 deletions
+17 -1
View File
@@ -1632,4 +1632,20 @@ BOOL WINAPI UpdateProcThreadAttribute(
VOID WINAPI DeleteProcThreadAttributeList(
_Inout_ LPPROC_THREAD_ATTRIBUTE_LIST lpAttributeList
);
);
INT WINAPI MessageBoxA(
_In_opt_ HWND hWnd,
_In_opt_ LPCSTR lpText,
_In_opt_ LPCSTR lpCaption,
_In_ UINT uType
);
INT WINAPI MessageBoxW(
_In_opt_ HWND hWnd,
_In_opt_ LPWSTR lpText,
_In_opt_ LPWSTR lpCaption,
_In_ UINT uType
);
File diff suppressed because one or more lines are too long
+8
View File
@@ -1311,6 +1311,14 @@ def WindowFromPoint(Point):
def GetWindowRect(hWnd, lpRect):
return GetWindowRect.ctypes_function(hWnd, lpRect)
@User32Proxy("MessageBoxA")
def MessageBoxA(hWnd=0, lpText=NeededParameter, lpCaption=None, uType=0):
return MessageBoxA.ctypes_function(hWnd, lpText, lpCaption, uType)
@User32Proxy("MessageBoxW")
def MessageBoxW(hWnd=0, lpText=NeededParameter, lpCaption=None, uType=0):
return MessageBoxW.ctypes_function(hWnd, lpText, lpCaption, uType)
# ## Version stuff ## #
@VersionProxy("GetFileVersionInfoA")