windows.cfg: Added support for GetModuleFileName().

This commit is contained in:
orbitcowboy 2019-07-12 09:11:31 +02:00
parent a67abb5fa2
commit d81aa4caf8
1 changed files with 22 additions and 0 deletions

View File

@ -4270,6 +4270,28 @@ HFONT CreateFont(
<not-bool/> <not-bool/>
</arg> </arg>
</function> </function>
<!-- DWORD GetModuleFileNameW(HMODULE hModule, LPWSTR lpFilename, DWORD nSize); -->
<!-- DWORD GetModuleFileNameA(HMODULE hModule, LPSTR lpFilename, DWORD nSize); -->
<function name="GetModuleFileName,GetModuleFileNameA,GetModuleFileNameW">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<returnValue type="DWORD"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
<strz/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
<not-bool/>
<valid>1:</valid>
</arg>
</function>
<!--FARPROC WINAPI GetProcAddress( <!--FARPROC WINAPI GetProcAddress(
_In_ HMODULE hModule, _In_ HMODULE hModule,
_In_ LPCSTR lpProcName);--> _In_ LPCSTR lpProcName);-->