[WINLOGON][MPR][SDK] WNetClearConnections: Fix function parameter type (#3480)

Addendum to 62f79fae93.

Signed-off-by: Serge Gautherie <reactos-git_serge_171003@gautherie.fr>
This commit is contained in:
Serge Gautherie 2021-04-18 20:58:44 +02:00 committed by GitHub
parent 5f03339239
commit 0dedb9b474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -726,7 +726,7 @@ LogoffShutdownThread(
}
/* Cancel all the user connections */
WNetClearConnections(0);
WNetClearConnections(NULL);
if (LSData->Session->UserToken)
RevertToSelf();

View File

@ -55,7 +55,7 @@
@ stdcall WNetCancelConnection2W(wstr long long)
@ stdcall WNetCancelConnectionA(str long)
@ stdcall WNetCancelConnectionW(wstr long)
@ stdcall WNetClearConnections(long)
@ stdcall WNetClearConnections(ptr)
@ stdcall WNetCloseEnum(long)
@ stdcall WNetConnectionDialog1A(ptr)
@ stdcall WNetConnectionDialog1W(ptr)

View File

@ -2,6 +2,6 @@
#define _UNDOCMPR_H
/* WNET undocumented functions */
DWORD WINAPI WNetClearConnections(HANDLE owner);
DWORD WINAPI WNetClearConnections(HWND owner);
#endif