advapi32: Add InitiateShutdown{A,W} stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47131 Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
71397e6ebf
commit
8c61f824f9
|
@ -268,6 +268,24 @@ BOOL WINAPI InitiateSystemShutdownW( LPWSTR lpMachineName, LPWSTR lpMessage, DWO
|
|||
SHTDN_REASON_MAJOR_LEGACY_API );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InitiateShutdownA [ADVAPI32.@]
|
||||
*/
|
||||
DWORD WINAPI InitiateShutdownA(char *name, char *message, DWORD seconds, DWORD flags, DWORD reason)
|
||||
{
|
||||
FIXME("%s, %s, %d, %d, %d stub\n", debugstr_a(name), debugstr_a(message), seconds, flags, reason);
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* InitiateShutdownW [ADVAPI32.@]
|
||||
*/
|
||||
DWORD WINAPI InitiateShutdownW(WCHAR *name, WCHAR *message, DWORD seconds, DWORD flags, DWORD reason)
|
||||
{
|
||||
FIXME("%s, %s, %d, %d, %d stub\n", debugstr_w(name), debugstr_w(message), seconds, flags, reason);
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
BOOL WINAPI LogonUserA( LPCSTR lpszUsername, LPCSTR lpszDomain, LPCSTR lpszPassword,
|
||||
DWORD dwLogonType, DWORD dwLogonProvider, PHANDLE phToken )
|
||||
{
|
||||
|
|
|
@ -405,8 +405,8 @@
|
|||
@ stdcall InitializeAcl(ptr long long)
|
||||
@ stdcall InitializeSecurityDescriptor(ptr long)
|
||||
@ stdcall InitializeSid(ptr ptr long)
|
||||
# @ stub InitiateShutdownA
|
||||
# @ stub InitiateShutdownW
|
||||
@ stdcall InitiateShutdownA(str str long long long)
|
||||
@ stdcall InitiateShutdownW(wstr wstr long long long)
|
||||
@ stdcall InitiateSystemShutdownA(str str long long long)
|
||||
@ stdcall InitiateSystemShutdownExA(str str long long long long)
|
||||
@ stdcall InitiateSystemShutdownExW(wstr wstr long long long long)
|
||||
|
|
|
@ -91,6 +91,9 @@ typedef LONG LSTATUS;
|
|||
WINADVAPI BOOL WINAPI AbortSystemShutdownA(LPSTR);
|
||||
WINADVAPI BOOL WINAPI AbortSystemShutdownW(LPWSTR);
|
||||
#define AbortSystemShutdown WINELIB_NAME_AW(AbortSystemShutdown)
|
||||
WINADVAPI DWORD WINAPI InitiateShutdownA(char*,char*,DWORD,DWORD,DWORD);
|
||||
WINADVAPI DWORD WINAPI InitiateShutdownW(WCHAR*,WCHAR*,DWORD,DWORD,DWORD);
|
||||
#define InitiateShutdown WINELIB_NAME_AW(InitiateShutdown)
|
||||
WINADVAPI BOOL WINAPI InitiateSystemShutdownA(LPSTR,LPSTR,DWORD,BOOL,BOOL);
|
||||
WINADVAPI BOOL WINAPI InitiateSystemShutdownW(LPWSTR,LPWSTR,DWORD,BOOL,BOOL);
|
||||
#define InitiateSystemShutdown WINELIB_NAME_AW(InitiateSystemShutdown)
|
||||
|
|
Loading…
Reference in New Issue