windows.cfg: Added support for more functions like SetupDiGetClassDevs().

This commit is contained in:
orbitcowboy 2016-11-29 09:18:08 +01:00
parent f66e7fb379
commit b964513611
1 changed files with 65 additions and 0 deletions

View File

@ -2924,4 +2924,69 @@ HFONT CreateFont(
<not-null/>
</arg>
</function>
<!-- BOOL SetupDiDestroyDeviceInfoList(_In_ HDEVINFO DeviceInfoSet);-->
<function name="SetupDiDestroyDeviceInfoList">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- BOOL SetupDiGetDeviceInstanceId(
_In_ HDEVINFO DeviceInfoSet,
_In_ PSP_DEVINFO_DATA DeviceInfoData,
_Out_opt_ PTSTR DeviceInstanceId,
_In_ DWORD DeviceInstanceIdSize,
_Out_opt_ PDWORD RequiredSize);-->
<function name="SetupDiGetDeviceInstanceId">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="5"/>
</function>
<!-- BOOL SetupDiEnumDeviceInfo(
_In_ HDEVINFO DeviceInfoSet,
_In_ DWORD MemberIndex,
_Out_ PSP_DEVINFO_DATA DeviceInfoData);-->
<function name="SetupDiEnumDeviceInfo">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3"/>
</function>
<!-- HDEVINFO SetupDiGetClassDevs(
_In_opt_ const GUID *ClassGuid,
_In_opt_ PCTSTR Enumerator,
_In_opt_ HWND hwndParent,
_In_ DWORD Flags ); -->
<function name="SetupDiGetClassDevs">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
</def>