[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