Update PhLoadLibrarySafe return type

This commit is contained in:
dmex
2021-03-17 06:51:15 +11:00
parent 8fe923738d
commit 6f3d760cbe
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1493,7 +1493,7 @@ PhGetClassObject(
PHLIBAPI
_Ret_maybenull_
HMODULE
PVOID
PhLoadLibrarySafe(
_In_ PCWSTR LibFileName
);
+2 -2
View File
@@ -7834,12 +7834,12 @@ HRESULT PhGetClassObject(
@return HMODULE to the library on success, null on failure.
*/
_Ret_maybenull_
HMODULE
PVOID
PhLoadLibrarySafe(
_In_ PCWSTR LibFileName
)
{
HMODULE baseAddress;
PVOID baseAddress;
//
// Force LOAD_LIBRARY_SEARCH_SYSTEM32. If the library file name is a fully