mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-26 01:59:53 +03:00
Cedar/Win32Com.cpp: Fix wrong signature for SetupCopyOEMInfW() and SetupUninstallOEMInfW()
https://docs.microsoft.com/en-us/windows/win32/api/setupapi/nf-setupapi-setupcopyoeminfw https://docs.microsoft.com/en-us/windows/win32/api/setupapi/nf-setupapi-setupuninstalloeminfw
This commit is contained in:
parent
2078a069de
commit
56a19d7651
@ -282,11 +282,11 @@ bool InstallNdisProtocolDriver(wchar_t *inf_path, wchar_t *id, UINT lock_timeout
|
||||
}
|
||||
|
||||
_SetupCopyOEMInfW =
|
||||
(UINT (__stdcall *)(PCWSTR,PCWSTR,DWORD,DWORD,PWSTR,DWORD,PDWORD,PWSTR *))
|
||||
(BOOL (__stdcall *)(PCWSTR,PCWSTR,DWORD,DWORD,PWSTR,DWORD,PDWORD,PWSTR *))
|
||||
GetProcAddress(hSetupApiDll, "SetupCopyOEMInfW");
|
||||
|
||||
_SetupUninstallOEMInfW =
|
||||
(UINT (__stdcall *)(PCWSTR,DWORD,PVOID))
|
||||
(BOOL (__stdcall *)(PCWSTR,DWORD,PVOID))
|
||||
GetProcAddress(hSetupApiDll, "SetupUninstallOEMInfW");
|
||||
|
||||
if (_SetupCopyOEMInfW == NULL || _SetupUninstallOEMInfW == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user