Work on windows.cfg: - Add more resource/memory functions - Complete the information about some functions

This commit is contained in:
Pierre Schweitzer 2014-04-09 10:30:57 +02:00 committed by Daniel Marjamäki
parent dd61c5db47
commit a9e53026bd
1 changed files with 166 additions and 36 deletions

View File

@ -1,31 +1,31 @@
<?xml version="1.0"?>
<def>
<resource>
<alloc>CreatePen</alloc>
<alloc>CreateBrushIndirect</alloc>
<alloc>CreateDIBPatternBrush</alloc>
<alloc>CreateDIBPatternBrushPt</alloc>
<alloc>CreateHatchBrush</alloc>
<alloc>CreatePatternBrush</alloc>
<alloc>CreateSolidBrush</alloc>
<alloc>CreateFont</alloc>
<alloc>CreateFontIndirect</alloc>
<alloc>CreateFontIndirectEx</alloc>
<alloc>CreateBitmap</alloc>
<alloc>CreateBitmapIndirect</alloc>
<alloc>CreateCompatibleBitmap</alloc>
<alloc>CreateDIBitmap</alloc>
<alloc>CreateDIBSection</alloc>
<alloc>CreateDiscardableBitmap</alloc>
<alloc>CreateEllipticRgn</alloc>
<alloc>CreateEllipticRgnIndirect</alloc>
<alloc>CreatePolygonRgn</alloc>
<alloc>CreatePolyPolygonRgn</alloc>
<alloc>CreateRectRgn</alloc>
<alloc>CreateRectRgnIndirect</alloc>
<alloc>CreateRoundRectRgn</alloc>
<alloc>CreateHalftonePalette</alloc>
<alloc>CreatePalette</alloc>
<alloc init="true">CreatePen</alloc>
<alloc init="true">CreateBrushIndirect</alloc>
<alloc init="true">CreateDIBPatternBrush</alloc>
<alloc init="true">CreateDIBPatternBrushPt</alloc>
<alloc init="true">CreateHatchBrush</alloc>
<alloc init="true">CreatePatternBrush</alloc>
<alloc init="true">CreateSolidBrush</alloc>
<alloc init="true">CreateFont</alloc>
<alloc init="true">CreateFontIndirect</alloc>
<alloc init="true">CreateFontIndirectEx</alloc>
<alloc init="true">CreateBitmap</alloc>
<alloc init="true">CreateBitmapIndirect</alloc>
<alloc init="true">CreateCompatibleBitmap</alloc>
<alloc init="true">CreateDIBitmap</alloc>
<alloc init="true">CreateDIBSection</alloc>
<alloc init="true">CreateDiscardableBitmap</alloc>
<alloc init="true">CreateEllipticRgn</alloc>
<alloc init="true">CreateEllipticRgnIndirect</alloc>
<alloc init="true">CreatePolygonRgn</alloc>
<alloc init="true">CreatePolyPolygonRgn</alloc>
<alloc init="true">CreateRectRgn</alloc>
<alloc init="true">CreateRectRgnIndirect</alloc>
<alloc init="true">CreateRoundRectRgn</alloc>
<alloc init="true">CreateHalftonePalette</alloc>
<alloc init="true">CreatePalette</alloc>
<dealloc>DeleteObject</dealloc>
</resource>
<resource>
@ -42,6 +42,8 @@
<alloc init="true">OpenBackupEventLog</alloc>
<alloc init="true">OpenEventLog</alloc>
<alloc init="true">CreateFileMapping</alloc>
<alloc init="true">CreateFileMappingFromApp</alloc>
<alloc init="true">CreateFileMappingNuma</alloc>
<alloc init="true">CreateMemoryResourceNotification</alloc>
<alloc init="true">OpenFileMapping</alloc>
<alloc init="true">CreateNamedPipe</alloc>
@ -60,6 +62,16 @@
<alloc init="true">CreateMailslot</alloc>
<dealloc>CloseHandle</dealloc>
</resource>
<resource>
<alloc init="true">OpenSCManager</alloc>
<alloc init="true">OpenService</alloc>
<alloc init="true">CreateService</alloc>
<dealloc>CloseServiceHandle</dealloc>
</resource>
<resource>
<alloc init="true">LockServiceDatabase</alloc>
<dealloc>UnlockServiceDatabase</dealloc>
</resource>
<memory>
<alloc>ExAllocatePool</alloc>
@ -80,7 +92,7 @@
<dealloc>IoFreeErrorLogEntry</dealloc>
</memory>
<memory>
<alloc>IoAllocateIrp</alloc>
<alloc init="true">IoAllocateIrp</alloc>
<dealloc>IoFreeIrp</dealloc>
<dealloc>IofCallDriver</dealloc>
<dealloc>IoCallDriver</dealloc>
@ -132,11 +144,129 @@
</memory>
<memory>
<alloc>VirtualAllocEx</alloc>
<alloc>VirtualAllocExNuma</alloc>
<dealloc>VirtualFreeEx</dealloc>
</memory>
<memory>
<alloc>LocalAlloc</alloc>
<dealloc>LocalFree</dealloc>
</memory>
<memory>
<alloc>GlobalAlloc</alloc>
<dealloc>GlobalFree</dealloc>
</memory>
<memory>
<alloc init="true">MapViewOfFile</alloc>
<alloc init="true">MapViewOfFileEx</alloc>
<alloc init="true">MapViewOfFileExNuma</alloc>
<alloc init="true">MapViewOfFileFromApp</alloc>
<dealloc>UnmapViewOfFile</dealloc>
</memory>
<memory>
<alloc init="true">RtlCreateHeap</alloc>
<dealloc>RtlDestroyHeap</dealloc>
</memory>
<function name="RtlCompareMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0-</valid></arg>
</function>
<function name="RtlCopyBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0-</valid></arg>
</function>
<function name="RtlCopyMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0-</valid></arg>
</function>
<function name="RtlEqualMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/><not-uninit/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0-</valid></arg>
</function>
<function name="RtlFillBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
<arg nr="3"><not-uninit/></arg>
</function>
<function name="RtlFillMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
<arg nr="3"><not-uninit/></arg>
</function>
<function name="RtlMoveMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0-</valid></arg>
</function>
<function name="RtlSecureZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
</function>
<function name="RtlZeroBytes">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
</function>
<function name="RtlZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
</function>
<function name="CopyMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0-</valid></arg>
</function>
<function name="FillMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
<arg nr="3"><not-uninit/></arg>
</function>
<function name="MoveMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-null/><not-uninit/></arg>
<arg nr="3"><not-bool/><valid>0-</valid></arg>
</function>
<function name="SecureZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
</function>
<function name="ZeroMemory">
<noreturn>false</noreturn>
<leak-ignore/>
<arg nr="1"><not-null/></arg>
<arg nr="2"><not-bool/><valid>0-</valid></arg>
</function>
<function name="KeBugCheck">
@ -146,17 +276,17 @@
<noreturn>true</noreturn>
</function>
<function name="printf_s"> <noreturn>false</noreturn> <formatstr secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="wprintf_s"> <noreturn>false</noreturn> <formatstr secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fprintf_s"> <noreturn>false</noreturn> <formatstr secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fwprintf_s"> <noreturn>false</noreturn> <formatstr secure="true"/> <arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snprintf_s"> <noreturn>false</noreturn> <formatstr secure="true"/> <arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snwprintf_s"> <noreturn>false</noreturn> <formatstr secure="true"/> <arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="printf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="wprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="fwprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="2"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="_snwprintf_s"><noreturn>false</noreturn><leak-ignore/><formatstr secure="true"/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrint"> <noreturn>false</noreturn> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrintEx"> <noreturn>false</noreturn> <arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintEx"> <noreturn>false</noreturn> <arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintExWithPrefix"> <noreturn>false</noreturn> <arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrint"><noreturn>false</noreturn><leak-ignore/><arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="DbgPrintEx"><noreturn>false</noreturn><leak-ignore/><arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintEx"><noreturn>false</noreturn><leak-ignore/><arg nr="3"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="vDbgPrintExWithPrefix"><noreturn>false</noreturn><leak-ignore/><arg nr="4"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="scanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>
<function name="wscanf_s"> <noreturn>false</noreturn> <formatstr scan="true" secure="true"/> <arg nr="1"><formatstr/><not-uninit/><not-null/></arg> </function>