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 );
|
hmsi = LoadLibraryW( szMsi );
|
||||||
if (!hmsi)
|
if (!hmsi)
|
||||||
return r;
|
return r;
|
||||||
mpcfd = (void*) GetProcAddress( hmsi, "MsiProvideComponentFromDescriptorW" );
|
mpcfd = (fnMsiProvideComponentFromDescriptor)GetProcAddress( hmsi,
|
||||||
|
"MsiProvideComponentFromDescriptorW" );
|
||||||
if (mpcfd)
|
if (mpcfd)
|
||||||
r = mpcfd( szDescriptor, szCommandLine, pcchCommandLine, NULL );
|
r = mpcfd( szDescriptor, szCommandLine, pcchCommandLine, NULL );
|
||||||
FreeLibrary( hmsi );
|
FreeLibrary( hmsi );
|
||||||
|
|
Loading…
Reference in New Issue