Added a bunch of functions to windows.cfg, fixed <dealloc> arg number for some functions

This commit is contained in:
PKEuS 2016-05-22 18:57:09 +02:00
parent 64d2fd2f57
commit 9ea49d48d1
1 changed files with 410 additions and 3 deletions

View File

@ -1012,7 +1012,7 @@
<alloc init="true">IoAllocateIrp</alloc> <alloc init="true">IoAllocateIrp</alloc>
<dealloc>IoFreeIrp</dealloc> <dealloc>IoFreeIrp</dealloc>
<dealloc>IofCallDriver</dealloc> <dealloc>IofCallDriver</dealloc>
<dealloc>IoCallDriver</dealloc> <dealloc arg="2">IoCallDriver</dealloc>
</memory> </memory>
<memory> <memory>
<alloc>IoAllocateMdl</alloc> <alloc>IoAllocateMdl</alloc>
@ -1037,11 +1037,11 @@
</memory> </memory>
<memory> <memory>
<alloc>ExAllocateFromPagedLookasideList</alloc> <alloc>ExAllocateFromPagedLookasideList</alloc>
<dealloc>ExFreeToPagedLookasideList</dealloc> <dealloc arg="2">ExFreeToPagedLookasideList</dealloc>
</memory> </memory>
<memory> <memory>
<alloc>ExAllocateFromNPagedLookasideList</alloc> <alloc>ExAllocateFromNPagedLookasideList</alloc>
<dealloc>ExFreeToNPagedLookasideList</dealloc> <dealloc arg="2">ExFreeToNPagedLookasideList</dealloc>
</memory> </memory>
<memory> <memory>
<alloc>AllocateHeap</alloc> <alloc>AllocateHeap</alloc>
@ -2108,4 +2108,411 @@ HFONT CreateFont(
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<function name="PeekMessage,PeekMessageA,PeekMessageW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="5">
<not-uninit/>
</arg>
</function>
<function name="GetMessage,GetMessageA,GetMessageW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="TranslateMessage">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="DispatchMessage,DispatchMessageA,DispatchMessageW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="SendMessage,SendMessageA,SendMessageW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="PostQuitMessage">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="DefWindowProc,DefWindowProcA,DefWindowProcW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="GetPrivateProfileInt,GetPrivateProfileIntA,GetPrivateProfileIntW">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function>
<function name="GetPrivateProfileSection,GetPrivateProfileSectionA,GetPrivateProfileSectionW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="2">
<not-null/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function>
<function name="GetPrivateProfileSectionNames,GetPrivateProfileSectionNamesA,GetPrivateProfileSectionNamesW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<minsize type="argvalue" arg="2"/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function>
<function name="GetPrivateProfileString,GetPrivateProfileStringA,GetPrivateProfileStringW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-null/>
<minsize type="argvalue" arg="5"/>
</arg>
<arg nr="5">
<not-uninit/>
</arg>
<arg nr="6">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function>
<function name="GetPrivateProfileStruct,GetPrivateProfileStructA,GetPrivateProfileStructW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
<strz/>
</arg>
<arg nr="3">
<not-null/>
<minsize type="argvalue" arg="4"/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="5">
<not-null/>
<not-uninit/>
<strz/>
</arg>
</function>
<function name="BeginPaint">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
<function name="EndPaint">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
</arg>
</function>
<function name="GetStockObject">
<noreturn>false</noreturn>
<pure/>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="LoadIcon,LoadIconA,LoadIconW">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="CreateSolidBrush">
<noreturn>false</noreturn>
<leak-ignore/>
<use-retval/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="UpdateWindow">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="EnableWindow">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="CreateWindow,CreateWindowA,CreateWindowW">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="5">
<not-uninit/>
</arg>
<arg nr="6">
<not-uninit/>
</arg>
<arg nr="7">
<not-uninit/>
</arg>
<arg nr="8">
<not-uninit/>
</arg>
<arg nr="9">
<not-uninit/>
</arg>
<arg nr="10">
<not-uninit/>
</arg>
<arg nr="11">
<not-uninit/>
</arg>
</function>
<function name="CreateWindowEx,CreateWindowExA,CreateWindowExW">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
<arg nr="5">
<not-uninit/>
</arg>
<arg nr="6">
<not-uninit/>
</arg>
<arg nr="7">
<not-uninit/>
</arg>
<arg nr="8">
<not-uninit/>
</arg>
<arg nr="9">
<not-uninit/>
</arg>
<arg nr="10">
<not-uninit/>
</arg>
<arg nr="11">
<not-uninit/>
</arg>
<arg nr="12">
<not-uninit/>
</arg>
</function>
<function name="SetWindowText,SetWindowTextA,SetWindowTextW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="GetModuleHandle,GetModuleHandleA,GetModuleHandleW">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<function name="RegisterClass,RegisterClassEx">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<function name="UnregisterClass,UnregisterClassA,UnregisterClassW">
<noreturn>false</noreturn>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<function name="MessageBox,MessageBoxA,MessageBoxW">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
</def> </def>