Skip to content

Commit

Permalink
Use prototype from DllMain instead of vcrt internal for _DllMainCRTSt…
Browse files Browse the repository at this point in the history
…artup
  • Loading branch information
A2uria authored Oct 8, 2024
1 parent a91a9ca commit 3937f07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api-ms-win-core-path-l1-1-0.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ BOOL WINAPI PathIsUNCEx(PCWSTR pszPath, PCWSTR *ppszServer)
return PathIsUNCW(pszPath);
}

BOOL WINAPI _DllMainCRTStartup(HINSTANCE const instance, DWORD const reason,
LPVOID const reserved)
BOOL WINAPI _DllMainCRTStartup(HINSTANCE hinstDLL, DWORD fdwReason,
LPVOID lpvReserved)
{
return TRUE;
}

0 comments on commit 3937f07

Please sign in to comment.