Add more interfaces

This commit is contained in:
amai2012 2019-02-03 22:13:30 +01:00
parent c9d77db39a
commit 8e85aef4ea
2 changed files with 102 additions and 2 deletions

View File

@ -11,6 +11,7 @@
<not-uninit/>
</arg>
</function>
<!-- Those are macros, but it's helpful to declare a function here -->
<function name="Py_XINCREF,Py_XDECREF">
<leak-ignore/>
<noreturn>false</noreturn>
@ -36,7 +37,7 @@
<pure/>
<returnValue type="void"/>
</function>
<function name="Py_SetProgramName">
<function name="Py_SetProgramName,Py_SetPythonHome">
<leak-ignore/>
<noreturn>false</noreturn>
<returnValue type="void"/>
@ -45,7 +46,7 @@
<not-uninit/>
</arg>
</function>
<function name="Py_GetProgramName,Py_GetExecPrefix,Py_GetProgramFullPath,Py_GetPath">
<function name="Py_GetProgramName,Py_GetExecPrefix,Py_GetProgramFullPath,Py_GetPath,Py_GetPythonHome">
<noreturn>false</noreturn>
<returnValue type="char *"/>
<pure/>

View File

@ -5538,6 +5538,80 @@ HFONT CreateFont(
<not-uninit/>
</arg>
</function>
<!--
BOOL MiniDumpReadDumpStream(
PVOID BaseOfDump,
ULONG StreamNumber,
PMINIDUMP_DIRECTORY *Dir,
PVOID *StreamPointer,
ULONG *StreamSize
);
-->
<function name="MiniDumpReadDumpStream">
<noreturn>false</noreturn>
<returnValue type="BOOL"/>
<leak-ignore/>
<arg nr="1">
<not-bool/>
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-bool/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<not-null/>
<not-uninit/>
</arg>
<arg nr="4">
<not-null/>
<not-uninit/>
</arg>
<arg nr="5">
<not-uninit/>
</arg>
</function>
<!--
BOOL MiniDumpWriteDump(
HANDLE hProcess,
DWORD ProcessId,
HANDLE hFile,
MINIDUMP_TYPE DumpType,
PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam,
PMINIDUMP_USER_STREAM_INFORMATION UserStreamParam,
PMINIDUMP_CALLBACK_INFORMATION CallbackParam
); -->
<function name="MiniDumpWriteDump">
<noreturn>false</noreturn>
<returnValue type="BOOL"/>
<leak-ignore/>
<arg nr="1">
<not-bool/>
<not-uninit/>
</arg>
<arg nr="2">
<not-bool/>
<not-uninit/>
</arg>
<arg nr="3">
<not-bool/>
<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>
</function>
<podtype name="POINTER_SIGNED" sign="s"/>
<podtype name="POINTER_UNSIGNED" sign="u"/>
<podtype name="__time32_t" sign="s" size="4"/>
@ -11223,4 +11297,29 @@ HFONT CreateFont(
<define name="OF_EXIST" value="0x00004000"/>
<define name="OF_REOPEN" value="0x00008000"/>
<define name="OFS_MAXPATHNAME" value="128"/>
<define name="MiniDumpNormal" value="0x000000"/>
<define name="MiniDumpWithDataSegs" value="0x000001"/>
<define name="MiniDumpWithFullMemory" value="0x000002"/>
<define name="MiniDumpWithHandleData" value="0x000004"/>
<define name="MiniDumpFilterMemory" value="0x000008"/>
<define name="MiniDumpScanMemory" value="0x000010"/>
<define name="MiniDumpWithUnloadedModules" value="0x000020"/>
<define name="MiniDumpWithIndirectlyReferencedMemory" value="0x000040"/>
<define name="MiniDumpFilterModulePaths" value="0x000080"/>
<define name="MiniDumpWithProcessThreadData" value="0x000100"/>
<define name="MiniDumpWithPrivateReadWriteMemory" value="0x000200"/>
<define name="MiniDumpWithoutOptionalData" value="0x000400"/>
<define name="MiniDumpWithFullMemoryInfo" value="0x000800"/>
<define name="MiniDumpWithThreadInfo" value="0x001000"/>
<define name="MiniDumpWithCodeSegs" value="0x002000"/>
<define name="MiniDumpWithoutAuxiliaryState" value="0x004000"/>
<define name="MiniDumpWithFullAuxiliaryState" value="0x008000"/>
<define name="MiniDumpWithPrivateWriteCopyMemory" value="0x0010000"/>
<define name="MiniDumpIgnoreInaccessibleMemory" value="0x0020000"/>
<define name="MiniDumpWithTokenInformation" value="0x0040000"/>
<define name="MiniDumpWithModuleHeaders" value="0x0080000"/>
<define name="MiniDumpFilterTriage" value="0x0100000"/>
<define name="MiniDumpWithAvxXStateContext" value="0x0200000"/>
<define name="MiniDumpWithIptTrace" value="0x0400000"/>
<define name="MiniDumpValidTypeFlags" value="0x0800000"/>
</def>