advapi32: Use correct function pointer cast.
This commit is contained in:
parent
0de14c37e5
commit
06f05a9a5c
|
@ -287,7 +287,8 @@ DWORD WINAPI CommandLineFromMsiDescriptor( WCHAR *szDescriptor,
|
|||
hmsi = LoadLibraryW( szMsi );
|
||||
if (!hmsi)
|
||||
return r;
|
||||
mpcfd = (void*) GetProcAddress( hmsi, "MsiProvideComponentFromDescriptorW" );
|
||||
mpcfd = (fnMsiProvideComponentFromDescriptor)GetProcAddress( hmsi,
|
||||
"MsiProvideComponentFromDescriptorW" );
|
||||
if (mpcfd)
|
||||
r = mpcfd( szDescriptor, szCommandLine, pcchCommandLine, NULL );
|
||||
FreeLibrary( hmsi );
|
||||
|
|
Loading…
Reference in New Issue