5758 lines
159 KiB
INI
5758 lines
159 KiB
INI
<?xml version="1.0"?>
|
|
<def format="2">
|
|
<platformtype name="__int8" value="char">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="__int16" value="short">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="__int32" value="int">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="__int64" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
<long/>
|
|
</platformtype>
|
|
<platformtype name="ACCESS_MASK" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
<unsigned/>
|
|
</platformtype>
|
|
<platformtype name="ATOM" value="short">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="BOOL" value="int">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="BOOLEAN" value="char">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="BYTE" value="char">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="CCHAR" value="char">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="CHAR" value="char">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="COLORREF" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="DWORDLONG" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="DWORD" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="DWORD32" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="DWORD64" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="DWORD_PTR" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="DWORD_PTR" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="FLOAT" value="float">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HACCEL" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HANDLE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HAGENT" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HAGENTSESSION" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HBITMAP" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HBRUSH" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HCOLORSPACE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HCURSOR" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HCONV" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HCONVLIST" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HDC" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HDDEDATA" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HDESK" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HDROP" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HDWP" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HENHMETAFILE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HFILE" value="int">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HFONT" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HGDIOBJ" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HGLOBAL" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HHOOK" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HICON" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HINSTANCE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HKEY" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HKL" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HLOCAL" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HMENU" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HMETAFILE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HMODULE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HMONITOR" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HPALETTE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HPEN" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HRESULT" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HRGN" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HRSRC" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HWND" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HSZ" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HWINSTA" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HALF_PTR" value="short">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="HALF_PTR" value="int">
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HCALL" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HLINE" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HLINEAPP" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HPHONE" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="HPHONEAPP" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="INT" value="int">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="INT8" value="char">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="INT16" value="short">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="INT32" value="int">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="INT64" value="long">
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="INT_PTR" value="int">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="INT_PTR" value="long">
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LANGID" value="short">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LCID" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LCTYPE" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LGRPID" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LONG" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LONG32" value="int">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LONG64" value="long">
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LONGLONG" value="long">
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LONG_PTR" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="LONG_PTR" value="long">
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPBOOL" value="int">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPARAM" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="LPARAM" value="long">
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPBYTE" value="char">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPHANDLE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPCOLORREF" value="long">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPCSTR" value="char">
|
|
<const_ptr/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPCTSTR" value="char">
|
|
<const_ptr/>
|
|
<platform type="win32A"/>
|
|
</platformtype>
|
|
<platformtype name="LPCTSTR" value="wchar_t">
|
|
<const_ptr/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPCVOID" value="void">
|
|
<const_ptr/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPCWSTR" value="wchar_t">
|
|
<const_ptr/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPDWORD" value="long">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPINT" value="int">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPLONG" value="long">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPSTR" value="char">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPTSTR" value="char">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
</platformtype>
|
|
<platformtype name="LPTSTR" value="wchar_t">
|
|
<pointer/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPVOID" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPWORD" value="short">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LPWSTR" value="wchar_t">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="LRESULT" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="LRESULT" value="long">
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="MMRESULT" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="NTSTATUS" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PBOOL" value="int">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PBOOLEAN" value="char">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PBYTE" value="char">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PCHAR" value="char">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PFLOAT" value="float">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PCSTR" value="char">
|
|
<const_ptr/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PCWSTR" value="wchar_t">
|
|
<const_ptr/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PCTSTR" value="char">
|
|
<const_ptr/>
|
|
<platform type="win32A"/>
|
|
</platformtype>
|
|
<platformtype name="PCTSTR" value="wchar_t">
|
|
<const_ptr/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PDWORD32" value="int">
|
|
<pointer/>
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PDWORD64" value="long">
|
|
<pointer/>
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PDWORD" value="long">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PHANDLE" value="void">
|
|
<ptr_ptr/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PINT" value="int">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PLONG" value="long">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PRECT" value="RECT">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PSTR" value="char">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PTSTR" value="char">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
</platformtype>
|
|
<platformtype name="PTSTR" value="wchar_t">
|
|
<pointer/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PUCHAR" value="char">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PULONG" value="long">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PUSHORT" value="short">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PVOID" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PWCHAR" value="wchar_t">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PWORD" value="short">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PWSTR" value="wchar_t">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PDWORDLONG" value="long">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PDWORD_PTR" value="long">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="QWORD" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="SC_LOCK" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="SC_HANDLE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="SERVICE_STATUS_HANDLE" value="void">
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="SHORT" value="short">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="SIZE_T" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="SIZE_T" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="SOCKET" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="SSIZE_T" value="long">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="SSIZE_T" value="long">
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="TBYTE" value="char">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
</platformtype>
|
|
<platformtype name="TBYTE" value="wchar_t">
|
|
<unsigned/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="TCHAR" value="char">
|
|
<platform type="win32A"/>
|
|
</platformtype>
|
|
<platformtype name="TCHAR" value="wchar_t">
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UCHAR" value="char">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="u_char" value="char">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UHALF_PTR" value="short">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="UHALF_PTR" value="int">
|
|
<unsigned/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UINT" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="u_int" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UINT8" value="char">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UINT16" value="short">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UINT32" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UINT64" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="UINT_PTR" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="UINT_PTR" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win64"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="ULONG" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="u_long" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="ULONG32" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="ULONG64" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PULONG32" value="int">
|
|
<unsigned/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="PULONG64" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<pointer/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="ULONGLONG" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="ULONG_PTR" value="long">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="ULONG_PTR" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="USHORT" value="short">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="u_short" value="short">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="USN" value="long">
|
|
<long/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="VOID" value="void">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="WCHAR" value="wchar_t">
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="WORD" value="short">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<platformtype name="WPARAM" value="int">
|
|
<unsigned/>
|
|
<platform type="win32A"/>
|
|
<platform type="win32W"/>
|
|
</platformtype>
|
|
<platformtype name="WPARAM" value="long">
|
|
<unsigned/>
|
|
<long/>
|
|
<platform type="win64"/>
|
|
</platformtype>
|
|
<resource>
|
|
<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>
|
|
<dealloc>closesocket</dealloc>
|
|
<alloc init="true">socket</alloc>
|
|
</resource>
|
|
<resource>
|
|
<alloc init="true">CreateThread</alloc>
|
|
<alloc init="true">CreateFile</alloc>
|
|
<alloc init="true">OpenFile</alloc>
|
|
<alloc init="true">CreateJobObject</alloc>
|
|
<alloc init="true">CreateRemoteThread</alloc>
|
|
<alloc init="true">CreateConsoleScreenBuffer</alloc>
|
|
<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>
|
|
<alloc init="true">CreateEvent</alloc>
|
|
<alloc init="true">CreateEventA</alloc>
|
|
<alloc init="true">CreateEventW</alloc>
|
|
<alloc init="true">CreateEventEx</alloc>
|
|
<alloc init="true">CreateEventExA</alloc>
|
|
<alloc init="true">CreateEventExW</alloc>
|
|
<alloc init="true">CreateMutex</alloc>
|
|
<alloc init="true">CreateMutexA</alloc>
|
|
<alloc init="true">CreateMutexW</alloc>
|
|
<alloc init="true">CreateMutexEx</alloc>
|
|
<alloc init="true">CreateMutexExA</alloc>
|
|
<alloc init="true">CreateMutexExW</alloc>
|
|
<alloc init="true">CreateSemaphore</alloc>
|
|
<alloc init="true">CreateSemaphoreA</alloc>
|
|
<alloc init="true">CreateSemaphoreW</alloc>
|
|
<alloc init="true">CreateSemaphoreEx</alloc>
|
|
<alloc init="true">CreateSemaphoreExA</alloc>
|
|
<alloc init="true">CreateSemaphoreExW</alloc>
|
|
<alloc init="true">CreateTimerQueue</alloc>
|
|
<alloc init="true">CreateWaitableTimer</alloc>
|
|
<alloc init="true">OpenEvent</alloc>
|
|
<alloc init="true">OpenEventA</alloc>
|
|
<alloc init="true">OpenEventW</alloc>
|
|
<alloc init="true">OpenMutex</alloc>
|
|
<alloc init="true">OpenMutexA</alloc>
|
|
<alloc init="true">OpenMutexW</alloc>
|
|
<alloc init="true">OpenSemaphore</alloc>
|
|
<alloc init="true">OpenSemaphoreA</alloc>
|
|
<alloc init="true">OpenSemaphoreW</alloc>
|
|
<alloc init="true">OpenWaitableTimer</alloc>
|
|
<alloc init="true">OpenJobObject</alloc>
|
|
<alloc init="true">OpenProcess</alloc>
|
|
<alloc init="true">OpenThread</alloc>
|
|
<alloc init="true">CreateMailslot</alloc>
|
|
<dealloc>CloseHandle</dealloc>
|
|
</resource>
|
|
<resource>
|
|
<alloc init="true">FindFirstFile</alloc>
|
|
<alloc init="true">FindFirstFileW</alloc>
|
|
<alloc init="true">FindFirstFileA</alloc>
|
|
<alloc init="true">FindFirstFileEx</alloc>
|
|
<alloc init="true">FindFirstFileExW</alloc>
|
|
<alloc init="true">FindFirstFileExA</alloc>
|
|
<alloc init="true">FindFirstFileNameW</alloc>
|
|
<alloc init="true">FindFirstFileNameTransactedW</alloc>
|
|
<alloc init="true">FindFirstStreamTransactedW</alloc>
|
|
<alloc init="true">FindFirstFileTransacted</alloc>
|
|
<alloc init="true">FindFirstStreamW</alloc>
|
|
<dealloc>FindClose</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>
|
|
<resource>
|
|
<alloc init="true">HeapCreate</alloc>
|
|
<dealloc>HeapDestroy</dealloc>
|
|
</resource>
|
|
<resource>
|
|
<alloc init="true">_wfopen</alloc>
|
|
<alloc init="true">_tfopen</alloc>
|
|
<alloc init="true" arg="1">_wfopen_s</alloc>
|
|
<alloc init="true" arg="1">_tfopen_s</alloc>
|
|
<dealloc>fclose</dealloc>
|
|
<dealloc>_fcloseall</dealloc>
|
|
</resource>
|
|
<resource>
|
|
<alloc init="true">_open</alloc>
|
|
<alloc init="true">_topen</alloc>
|
|
<alloc init="true">_wopen</alloc>
|
|
<dealloc>_close</dealloc>
|
|
</resource>
|
|
<resource>
|
|
<alloc init="true">_popen</alloc>
|
|
<alloc init="true">_wpopen</alloc>
|
|
<alloc init="true">_tpopen</alloc>
|
|
<dealloc>_pclose</dealloc>
|
|
</resource>
|
|
<resource>
|
|
<alloc init="true">LoadLibrary</alloc>
|
|
<alloc init="true">LoadLibraryA</alloc>
|
|
<alloc init="true">LoadLibraryW</alloc>
|
|
<alloc init="true">LoadLibraryEx</alloc>
|
|
<alloc init="true">LoadLibraryExA</alloc>
|
|
<alloc init="true">LoadLibraryExW</alloc>
|
|
<!--For GetModuleHandle() FreeLibrary*() should never be called.-->
|
|
<!--For GetModuleHandleEx() FreeLibrary*() can not always be called
|
|
(depends on the flags). So to prevent false positives it is not added
|
|
to the allocation functions here.-->
|
|
<dealloc>FreeLibrary</dealloc>
|
|
<dealloc>FreeLibraryAndExitThread</dealloc>
|
|
</resource>
|
|
<memory>
|
|
<alloc>ExAllocatePool</alloc>
|
|
<alloc>ExAllocatePoolWithQuota</alloc>
|
|
<alloc>ExAllocatePoolWithQuotaTag</alloc>
|
|
<alloc>ExAllocatePoolWithTag</alloc>
|
|
<alloc>ExAllocatePoolWithTagPriority</alloc>
|
|
<dealloc>ExFreePool</dealloc>
|
|
<dealloc>ExFreePoolWithTag</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>HeapAlloc</alloc>
|
|
<alloc>HeapReAlloc</alloc>
|
|
<dealloc arg="3">HeapFree</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>IoAllocateErrorLogEntry</alloc>
|
|
<dealloc>IoWriteErrorLogEntry</dealloc>
|
|
<dealloc>IoFreeErrorLogEntry</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc init="true">IoAllocateIrp</alloc>
|
|
<dealloc>IoFreeIrp</dealloc>
|
|
<dealloc>IofCallDriver</dealloc>
|
|
<dealloc arg="2">IoCallDriver</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>IoAllocateMdl</alloc>
|
|
<dealloc>IoFreeMdl</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>MmAllocateContiguousMemory</alloc>
|
|
<dealloc>MmFreeContiguousMemory</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>MmAllocateContiguousMemorySpecifyCache</alloc>
|
|
<alloc>MmAllocateContiguousMemorySpecifyCacheNode</alloc>
|
|
<dealloc>MmFreeContiguousMemorySpecifyCache</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>IoAllocateWorkItem</alloc>
|
|
<dealloc>IoFreeWorkItem</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>RtlAllocateHeap</alloc>
|
|
<dealloc>RtlFreeHeap</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>ExAllocateFromPagedLookasideList</alloc>
|
|
<dealloc arg="2">ExFreeToPagedLookasideList</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>ExAllocateFromNPagedLookasideList</alloc>
|
|
<dealloc arg="2">ExFreeToNPagedLookasideList</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>AllocateHeap</alloc>
|
|
<dealloc>FreeHeap</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>AllocateLsaHeap</alloc>
|
|
<dealloc>FreeLsaHeap</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>AllocatePrivateHeap</alloc>
|
|
<dealloc>FreePrivateHeap</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>VirtualAlloc</alloc>
|
|
<dealloc>VirtualFree</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>VirtualAllocEx</alloc>
|
|
<alloc>VirtualAllocExNuma</alloc>
|
|
<dealloc arg="2">VirtualFreeEx</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>LocalAlloc</alloc>
|
|
<dealloc>LocalFree</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>GlobalAlloc</alloc>
|
|
<dealloc>GlobalFree</dealloc>
|
|
<dealloc arg="2">SetClipboardData</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>
|
|
<memory>
|
|
<alloc init="true">wcsdup</alloc>
|
|
<alloc init="true">_strdup</alloc>
|
|
<alloc init="true">_wcsdup</alloc>
|
|
<alloc init="true">_mbsdup</alloc>
|
|
<alloc init="true">_tcsdup</alloc>
|
|
<alloc init="true">_malloc_dbg</alloc>
|
|
<alloc init="true">_aligned_malloc</alloc>
|
|
<alloc init="true">_aligned_malloc_dbg</alloc>
|
|
<alloc init="true">_aligned_offset_malloc</alloc>
|
|
<alloc init="true">_strdup_dbg</alloc>
|
|
<alloc init="true">_wcsdup_dbg</alloc>
|
|
<alloc init="true">_tcsdup_dbg</alloc>
|
|
<dealloc>free</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>CoTaskMemAlloc</alloc>
|
|
<dealloc>CoTaskMemFree</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc>_malloca</alloc>
|
|
<!-- Do not add _alloca here. It is automatically freed! -->
|
|
<dealloc>_freea</dealloc>
|
|
</memory>
|
|
<memory>
|
|
<alloc init="true" arg="11">AllocateAndInitializeSid</alloc>
|
|
<dealloc>FreeSid</dealloc>
|
|
</memory>
|
|
<!--SIZE_T RtlCompareMemory(
|
|
_In_ const VOID *Source1,
|
|
_In_ const VOID *Source2,
|
|
_In_ SIZE_T Length);-->
|
|
<function name="RtlCompareMemory">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="SIZE_T"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--VOID RtlCopyBytes(
|
|
_Out_ PVOID Destination,
|
|
_In_ const VOID *Source,
|
|
_In_ SIZE_T Length);-->
|
|
<function name="RtlCopyBytes">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="VOID"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</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>
|
|
<warn severity="style" reason="Obsolete" alternatives="RtlFillMemory"/>
|
|
</function>
|
|
<!--PVOID RtlSecureZeroMemory(
|
|
_Out_ PVOID ptr,
|
|
_In_ SIZE_T cnt);-->
|
|
<function name="RtlSecureZeroMemory">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="PVOID"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</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>
|
|
<warn severity="style" reason="Obsolete" alternatives="RtlZeroMemory"/>
|
|
</function>
|
|
<function name="KeBugCheck">
|
|
<noreturn>true</noreturn>
|
|
</function>
|
|
<function name="KeBugCheckEx">
|
|
<noreturn>true</noreturn>
|
|
</function>
|
|
<!-- void CString::Format(LPCTSTR lpszFormat, ... ); -->
|
|
<function name="CString::Format">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<formatstr/>
|
|
<arg nr="1">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- void CString::AppendFormat(LPCTSTR lpszFormat, ... ); -->
|
|
<function name="CString::AppendFormat">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<formatstr/>
|
|
<arg nr="1">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int printf_s(const char *format [, argument]...); -->
|
|
<function name="printf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<formatstr secure="true"/>
|
|
<arg nr="1">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int wprintf_s(const wchar_t *format [, argument]...); -->
|
|
<function name="wprintf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<formatstr secure="true"/>
|
|
<arg nr="1">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int fprintf_s(FILE *stream, const char *format [, argument ]...); -->
|
|
<function name="fprintf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<formatstr secure="true"/>
|
|
<arg nr="2">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int fwprintf_s(FILE *stream, const wchar_t *format [, argument ]...); -->
|
|
<function name="fwprintf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<formatstr secure="true"/>
|
|
<arg nr="2">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _snprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format [, argument] ...); -->
|
|
<function name="_snprintf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<formatstr secure="true"/>
|
|
<arg nr="4">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _snwprintf_s(wchar_t *buffer, size_t sizeOfBuffer, size_t count, const wchar_t *format [, argument] ...); -->
|
|
<function name="_snwprintf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<formatstr secure="true"/>
|
|
<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>
|
|
<!-- int scanf_s(const char *format [, argument]...); -->
|
|
<function name="scanf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<formatstr scan="true" secure="true"/>
|
|
<arg nr="1">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int wscanf_s(const wchar_t *format [, argument]...); -->
|
|
<function name="wscanf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<formatstr scan="true" secure="true"/>
|
|
<arg nr="1">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int sscanf_s(const char *buffer, const char *format [, argument ] ...); -->
|
|
<function name="sscanf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<formatstr scan="true" secure="true"/>
|
|
<arg nr="2">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<function name="fscanf_s">
|
|
<noreturn>false</noreturn>
|
|
<formatstr scan="true" secure="true"/>
|
|
<arg nr="2">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<function name="fwscanf_s">
|
|
<noreturn>false</noreturn>
|
|
<formatstr scan="true" secure="true"/>
|
|
<arg nr="2">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int swscanf_s(const wchar_t *buffer, const wchar_t *format [, argument ] ...); -->
|
|
<function name="swscanf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<formatstr scan="true" secure="true"/>
|
|
<arg nr="2">
|
|
<formatstr/>
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI CloseHandle(_In_ HANDLE hObject); -->
|
|
<function name="CloseHandle">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HFILE WINAPI OpenFile(
|
|
_In_ LPCSTR lpFileName,
|
|
_Out_ LPOFSTRUCT lpReOpenBuff,
|
|
_In_ UINT uStyle);-->
|
|
<function name="OpenFile">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HFILE"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2"/>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI BuildCommDCB(
|
|
_In_ LPCTSTR lpDef,
|
|
_Out_ LPDCB lpDCB); -->
|
|
<function name="BuildCommDCB">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2"/>
|
|
</function>
|
|
<!-- BOOL WINAPI BuildCommDCBAndTimeouts(
|
|
_In_ LPCTSTR lpDef,
|
|
_Out_ LPDCB lpDCB,
|
|
_Out_ LPCOMMTIMEOUTS lpCommTimeouts); -->
|
|
<function name="BuildCommDCBAndTimeouts">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2"/>
|
|
<arg nr="3"/>
|
|
</function>
|
|
<!-- BOOL WINAPI WriteFile(
|
|
_In_ HANDLE hFile,
|
|
_In_ LPCVOID lpBuffer,
|
|
_In_ DWORD nNumberOfBytesToWrite,
|
|
_Out_opt_ LPDWORD lpNumberOfBytesWritten,
|
|
_Inout_opt_ LPOVERLAPPED lpOverlapped); -->
|
|
<function name="WriteFile">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4"/>
|
|
<arg nr="5"/>
|
|
</function>
|
|
<!-- BOOL WINAPI ReadFile(
|
|
_In_ HANDLE hFile,
|
|
_Out_ LPVOID lpBuffer,
|
|
_In_ DWORD nNumberOfBytesToRead,
|
|
_Out_opt_ LPDWORD lpNumberOfBytesRead,
|
|
_Inout_opt_ LPOVERLAPPED lpOverlapped); -->
|
|
<function name="ReadFile">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4"/>
|
|
<arg nr="5"/>
|
|
</function>
|
|
<!-- HANDLE WINAPI CreateFile(
|
|
_In_ LPCTSTR lpFileName,
|
|
_In_ DWORD dwDesiredAccess,
|
|
_In_ DWORD dwShareMode,
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes,
|
|
_In_ DWORD dwCreationDisposition,
|
|
_In_ DWORD dwFlagsAndAttributes,
|
|
_In_opt_ HANDLE hTemplateFile); -->
|
|
<function name="CreateFile">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<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>
|
|
</function>
|
|
<!-- BOOL WINAPI SetCommTimeouts(
|
|
_In_ HANDLE hFile,
|
|
_In_ LPCOMMTIMEOUTS lpCommTimeouts); -->
|
|
<function name="SetCommTimeouts">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI SetCommState(
|
|
_In_ HANDLE hFile,
|
|
_In_ LPDCB lpDCB);-->
|
|
<function name="SetCommState">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- unsigned char *_mbstok(unsigned char *strToken, const unsigned char *strDelimit); -->
|
|
<function name="_mbstok,_tcstok">
|
|
<pure/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- unsigned char *_mbstok_l(unsigned char *strToken, const unsigned char *strDelimit, _locale_t locale ); -->
|
|
<function name="_mbstok_l">
|
|
<pure/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="unsigned char *"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- char *_strtok_s_l(char *strToken, const char *strDelimit, char **context,_locale_t locale ); -->
|
|
<!-- wchar_t *_wcstok_s_l(wchar_t *strToken, const wchar_t *strDelimit, wchar_t**context,_locale_t locale); -->
|
|
<!-- unsigned char *_mbstok_s_l(unsigned char*strToken, const unsigned char *strDelimit, char **context,_locale_t locale); -->
|
|
<function name="_strtok_s_l,_wcstok_s_l,_mbstok_s_l,_tcstok_s_l">
|
|
<!-- strtok may modify the first argument, so using the return value is not mandatory -->
|
|
<noreturn>false</noreturn>
|
|
<pure/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- char *strtok_s(char *strToken, const char *strDelimit, char **context); -->
|
|
<!-- wchar_t *wcstok_s(wchar_t *strToken, const wchar_t *strDelimit, wchar_t**context); -->
|
|
<!-- unsigned char *_mbstok_s(unsigned char*strToken, const unsigned char *strDelimit, char **context); -->
|
|
<function name="strtok_s,wcstok_s,_mbstok_s,_tcstok_s">
|
|
<!-- strtok may modify the first argument, so using the return value is not mandatory -->
|
|
<noreturn>false</noreturn>
|
|
<pure/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- char *_getcwd(char *buffer, int maxlen); -->
|
|
<!-- wchar_t *_wgetcwd(wchar_t *buffer, int maxlen);-->
|
|
<function name="_getcwd,_wgetcwd">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HRESULT SHGetFolderPath(
|
|
_In_ HWND hwndOwner,
|
|
_In_ int nFolder,
|
|
_In_ HANDLE hToken,
|
|
_In_ DWORD dwFlags,
|
|
_Out_ LPTSTR pszPath);-->
|
|
<function name="SHGetFolderPath,SHGetFolderPathA,SHGetFolderPathW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HRESULT"/>
|
|
<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-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- LONG WINAPI RegQueryValueEx(
|
|
_In_ HKEY hKey,
|
|
_In_opt_ LPCTSTR lpValueName,
|
|
_Reserved_ LPDWORD lpReserved,
|
|
_Out_opt_ LPDWORD lpType,
|
|
_Out_opt_ LPBYTE lpData,
|
|
_Inout_opt_ LPDWORD lpcbData);-->
|
|
<function name="RegQueryValueEx,RegQueryValueExA,RegQueryValueExW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LONG"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="6"/>
|
|
</function>
|
|
<!-- LONG WINAPI RegCloseKey(_In_ HKEY hKey );-->
|
|
<function name="RegCloseKey">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LONG"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _stricmp_l(const char *string1, const char *string2, _locale_t locale); -->
|
|
<!-- int _wcsicmp_l(const wchar_t *string1, const wchar_t *string2, _locale_t locale); -->
|
|
<!-- int _mbsicmp_l(const wchar_t *string1, const wchar_t *string2, _locale_t locale); -->
|
|
<function name="_stricmp_l,_wcsicmp_l,_mbsicmp_l">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int stricmp(const char *s1, const char *s2); -->
|
|
<!-- int _stricmp(const char *s1, const char *s2); -->
|
|
<!-- int wcsicmp(const wchar_t *s1, const wchar_t *s2); -->
|
|
<!-- int _wcsicmp(const wchar_t *s1, const wchar_t *s2); -->
|
|
<!-- int _mbsicmp(const unsigned char *string1, const unsigned char *string2); -->
|
|
<function name="stricmp,_stricmp,wcsicmp,_wcsicmp,_mbsicmp,_tcsicmp">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- DWORD WINAPI GetFileAttributes(_In_ LPCTSTR lpFileName);-->
|
|
<function name="GetFileAttributes,GetFileAttributesA,GetFileAttributesW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- LONG WINAPI RegOpenKeyEx(
|
|
_In_ HKEY hKey,
|
|
_In_opt_ LPCTSTR lpSubKey,
|
|
_In_ DWORD ulOptions,
|
|
_In_ REGSAM samDesired,
|
|
_Out_ PHKEY phkResult); -->
|
|
<function name="RegOpenKeyEx,RegOpenKeyExA,RegOpenKeyExW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LONG"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5"/>
|
|
</function>
|
|
<!-- int __cdecl wsprintf(_Out_ LPTSTR lpOut, _In_ LPCTSTR lpFmt, _In_ ...);-->
|
|
<function name="wsprintf,wsprintfA,wsprintfW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<minsize type="strlen" arg="2"/>
|
|
</arg>
|
|
<formatstr/>
|
|
<arg nr="2">
|
|
<formatstr/>
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int sprintf_s(char *buffer, size_t sizeOfBuffer, const char *format, ...);-->
|
|
<!-- template <size_t size> int sprintf_s(char (&buffer)[size], const char *format, ...); // C++ only -->
|
|
<!-- int swprintf_s(wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format, ...); -->
|
|
<!-- template <size_t size> int swprintf_s(wchar_t (&buffer)[size], const wchar_t *format, ...); // C++ only -->
|
|
<function name="sprintf_s,swprintf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<!-- These functions and the format string checking is completely
|
|
implemented in Cppcheck. It can not (yet) be configured in the configuration
|
|
file. See #8381 -->
|
|
</function>
|
|
<!-- int _sprintf_s_l(char *buffer, size_t sizeOfBuffer, const char *format, locale_t locale, ... );
|
|
int _swprintf_s_l(wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format, locale_t locale, ...);-->
|
|
<function name="_sprintf_s_l,_swprintf_s_l">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<formatstr/>
|
|
<arg nr="3">
|
|
<formatstr/>
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- LONG WINAPI RegEnumKeyEx(
|
|
_In_ HKEY hKey,
|
|
_In_ DWORD dwIndex,
|
|
_Out_ LPTSTR lpName,
|
|
_Inout_ LPDWORD lpcName,
|
|
_Reserved_ LPDWORD lpReserved,
|
|
_Inout_ LPTSTR lpClass,
|
|
_Inout_opt_ LPDWORD lpcClass,
|
|
_Out_opt_ PFILETIME lpftLastWriteTime); -->
|
|
<function name="RegEnumKeyEx,RegEnumKeyExA,RegEnumKeyExW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LONG"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="8"/>
|
|
</function>
|
|
<!--
|
|
HFONT CreateFont(
|
|
_In_ int nHeight,
|
|
_In_ int nWidth,
|
|
_In_ int nEscapement,
|
|
_In_ int nOrientation,
|
|
_In_ int fnWeight,
|
|
_In_ DWORD fdwItalic,
|
|
_In_ DWORD fdwUnderline,
|
|
_In_ DWORD fdwStrikeOut,
|
|
_In_ DWORD fdwCharSet,
|
|
_In_ DWORD fdwOutputPrecision,
|
|
_In_ DWORD fdwClipPrecision,
|
|
_In_ DWORD fdwQuality,
|
|
_In_ DWORD fdwPitchAndFamily,
|
|
_In_ LPCTSTR lpszFace
|
|
);
|
|
-->
|
|
<function name="CreateFont">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HFONT"/>
|
|
<arg nr="any">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="14"/>
|
|
</function>
|
|
<!-- USHORT WINAPI CaptureStackBackTrace(
|
|
_In_ ULONG FramesToSkip,
|
|
_In_ ULONG FramesToCapture,
|
|
_Out_ PVOID *BackTrace,
|
|
_Out_opt_ PULONG BackTraceHash); -->
|
|
<function name="CaptureStackBackTrace">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="USHORT"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4"/>
|
|
</function>
|
|
<!-- int _vsnprintf(char *buffer, size_t count, const char *format, va_list argptr);
|
|
int _vsnwprintf(wchar_t *buffer, size_t count, const wchar_t *format, va_list argptr);-->
|
|
<function name="_vsnprintf,_vsnwprintf">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4"/>
|
|
</function>
|
|
<!-- int _vsnprintf_l (char *buffer , size_t count, const char *format, locale_t locale, va_list argptr);
|
|
int _vsnwprintf_l(wchar_t *buffer, size_t count, const wchar_t *format, locale_t locale, va_list argptr);
|
|
int _vswprintf_l(wchar_t *buffer, size_t count, const wchar_t *format, locale_t locale, va_list argptr);-->
|
|
<function name="_vsnprintf_l,_vsnwprintf_l,_vswprintf_l">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5"/>
|
|
</function>
|
|
<!-- int vsnprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr);
|
|
int _vsnprintf_s( char *buffer, size_t sizeOfBuffer, size_t count, const char *format, va_list argptr);
|
|
int _vsnwprintf_s( wchar_t *buffer, size_t sizeOfBuffer, size_t count, const wchar_t *format, va_list argptr); -->
|
|
<function name="vsnprintf_s,_vsnprintf_s,_vsnwprintf_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5"/>
|
|
</function>
|
|
<!-- int _vsnprintf_s_l(char *buffer, size_t sizeOfBuffer, size_t count, const char *format, locale_t locale, va_list argptr);
|
|
int _vsnwprintf_s_l(wchar_t *buffer, size_t sizeOfBuffer, size_t count, const wchar_t *format, locale_t locale, va_list argptr); -->
|
|
<function name="_vsnprintf_s_l,_vsnwprintf_s_l">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="6"/>
|
|
</function>
|
|
<!-- int _vsprintf_l(char *buffer, const char *format, locale_t locale, va_list argptr);
|
|
int __vswprintf_l(wchar_t *buffer, const wchar_t *format, locale_t locale, va_list argptr);-->
|
|
<function name="_vsprintf_l,__vswprintf_l">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4"/>
|
|
</function>
|
|
<!-- char *_strdup(const char *strSource);
|
|
wchar_t *_wcsdup(const wchar_t *strSource);
|
|
unsigned char *_mbsdup(const unsigned char *strSource);-->
|
|
<function name="_strdup,_wcsdup,_mbsdup,_tcsdup">
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- char *_strdup_dbg(const char *strSource, int blockType, const char *filename, int linenumber );
|
|
wchar_t *_wcsdup_dbg(const wchar_t *strSource, int blockType, const char *filename, int linenumber);-->
|
|
<function name="_strdup_dbg,_wcsdup_dbg,_tcsdup_dbg">
|
|
<noreturn>false</noreturn>
|
|
<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/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- int _mbscmp(const unsigned char *string1, const unsigned char *string2); -->
|
|
<function name="_mbscmp,_tcscmp">
|
|
<use-retval/>
|
|
<pure/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _snprintf(char *s, size_t n, const char *format, ...);
|
|
int _snwprintf(wchar_t *buffer, size_t count, const wchar_t *format, ...);-->
|
|
<function name="_snprintf,_snwprintf,_sntprintf">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<formatstr/>
|
|
<arg nr="3">
|
|
<formatstr/>
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- errno_t strcpy_s(char *strDestination, size_t numberOfElements, const char *strSource);
|
|
errno_t wcscpy_s(wchar_t *strDestination, size_t numberOfElements, const wchar_t *strSource);
|
|
errno_t _mbscpy_s(unsigned char *strDestination, size_t numberOfElements, const unsigned char *strSource); -->
|
|
<function name="strcpy_s,wcscpy_s,_mbscpy_s,_tcscpy_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="errno_t"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _CrtSetDbgFlag(int newFlag); -->
|
|
<function name="_CrtSetDbgFlag">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _stat(const char *path, struct _stat *buffer);
|
|
int _stat32(const char *path, struct __stat32 *buffer);
|
|
int _stat64(const char *path, struct __stat64 *buffer);
|
|
int _stati64(const char *path, struct _stati64 *buffer);
|
|
int _stat32i64(const char *path, struct _stat32i64 *buffer);
|
|
int _stat64i32(const char *path, struct _stat64i32 *buffer);
|
|
int _wstat(const wchar_t *path, struct _stat *buffer);
|
|
int _wstat32(const wchar_t *path, struct __stat32 *buffer);
|
|
int _wstat64(const wchar_t *path, struct __stat64 *buffer);
|
|
int _wstati64(const wchar_t *path, struct _stati64 *buffer);
|
|
int _wstat32i64(const wchar_t *path, struct _stat32i64 *buffer);
|
|
int _wstat64i32(const wchar_t *path, struct _stat64i32 *buffer); -->
|
|
<function name="_stat,_tstat,_stat32,_stat64,_tstat64,_stati64,_tstati64,_stat32i64,_tstat32i64,_stat64i32,_tstat64i32,_wstat,_wstat32,_wstat64,_wstati64,_wstat32i64,_wstat64i32">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _fstat(int fd, struct _stat *buffer);
|
|
int _fstat32(int fd, struct __stat32 *buffer);
|
|
int _fstat64(int fd, struct __stat64 *buffer);
|
|
int _fstati64(int fd, struct _stati64 *buffer);
|
|
int _fstat32i64(int fd, struct _stat32i64 *buffer);
|
|
int _fstat64i32(int fd, struct _stat64i32 *buffer);-->
|
|
<function name="_fstat,_fstat32,_fstat64,_fstati64,_fstat32i64,_fstat64i32">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _fseeki64(FILE *stream, __int64 offset, int origin); -->
|
|
<function name="_fseeki64">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- __int64 _ftelli64(FILE *stream);
|
|
long _ftell_nolock(FILE *stream);
|
|
__int64 _ftelli64_nolock(FILE *stream); -->
|
|
<function name="_ftelli64,_ftell_nolock,_ftelli64_nolock">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- FILE *_wfopen(const wchar_t *filename, const wchar_t *mode); -->
|
|
<function name="_wfopen,_tfopen">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="FILE *"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- size_t strnlen_s(const char *str, size_t numberOfElements);
|
|
size_t wcsnlen_s(const wchar_t *str, size_t numberOfElements);
|
|
size_t _mbsnlen(const unsigned char *str, size_t numberOfElements);
|
|
size_t _mbstrnlen(const char *str, size_t numberOfElements);-->
|
|
<function name="strnlen_s,wcsnlen_s,_mbsnlen,_mbstrnlen">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="size_t"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- size_t _mbsnlen_l(const unsigned char *str, size_t numberOfElements, _locale_t locale);
|
|
size_t _mbstrnlen_l(const char *str, size_t numberOfElements, _locale_t locale);-->
|
|
<function name="_mbsnlen_l,_mbstrnlen_l">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="size_t"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int WideCharToMultiByte(
|
|
_In_ UINT CodePage,
|
|
_In_ DWORD dwFlags,
|
|
_In_ LPCWSTR lpWideCharStr,
|
|
_In_ int cchWideChar,
|
|
_Out_opt_ LPSTR lpMultiByteStr,
|
|
_In_ int cbMultiByte,
|
|
_In_opt_ LPCSTR lpDefaultChar,
|
|
_Out_opt_ LPBOOL lpUsedDefaultChar
|
|
); -->
|
|
<function name="WideCharToMultiByte">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<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="6">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="7">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="8"/>
|
|
</function>
|
|
<!-- BOOL PathIsDirectory(_In_ LPCTSTR pszPath);-->
|
|
<function name="PathIsDirectory,PathIsDirectoryA,PathIsDirectoryW">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI SetConsoleTextAttribute(
|
|
_In_ HANDLE hConsoleOutput,
|
|
_In_ WORD wAttributes); -->
|
|
<function name="SetConsoleTextAttribute">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- errno_t _wfopen_s(FILE** pFile, const wchar_t *filename, const wchar_t *mode); -->
|
|
<function name="_wfopen_s,_tfopen_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="errno_t"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI DeleteFile(_In_ LPCTSTR lpFileName);-->
|
|
<function name="DeleteFile,DeleteFileA,DeleteFileW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HANDLE WINAPI GetStdHandle(_In_ DWORD nStdHandle); -->
|
|
<function name="GetStdHandle">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI SetStdHandle(_In_ DWORD nStdHandle, _In_ HANDLE hHandle); -->
|
|
<function name="SetStdHandle">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _access(const char *path, int mode);
|
|
int _waccess(const wchar_t *path, int mode); -->
|
|
<function name="_access,_waccess,_taccess">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI PeekMessage(
|
|
_Out_ LPMSG lpMsg,
|
|
_In_opt_ HWND hWnd,
|
|
_In_ UINT wMsgFilterMin,
|
|
_In_ UINT wMsgFilterMax,
|
|
_In_ UINT wRemoveMsg); -->
|
|
<function name="PeekMessage,PeekMessageA,PeekMessageW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<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>
|
|
<!-- BOOL WINAPI GetMessage(
|
|
_Out_ LPMSG lpMsg,
|
|
_In_opt_ HWND hWnd,
|
|
_In_ UINT wMsgFilterMin,
|
|
_In_ UINT wMsgFilterMax); -->
|
|
<function name="GetMessage,GetMessageA,GetMessageW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<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>
|
|
<!-- BOOL WINAPI TranslateMessage(
|
|
_In_ const MSG *lpMsg); -->
|
|
<function name="TranslateMessage">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- LRESULT WINAPI DispatchMessage(
|
|
_In_ const MSG *lpmsg); -->
|
|
<function name="DispatchMessage,DispatchMessageA,DispatchMessageW">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- LRESULT WINAPI SendMessage(
|
|
_In_ HWND hWnd,
|
|
_In_ UINT Msg,
|
|
_In_ WPARAM wParam,
|
|
_In_ LPARAM lParam); -->
|
|
<!-- BOOL WINAPI PostMessage(
|
|
_In_opt_ HWND hWnd,
|
|
_In_ UINT Msg,
|
|
_In_ WPARAM wParam,
|
|
_In_ LPARAM lParam); -->
|
|
<function name="SendMessage,SendMessageA,SendMessageW,PostMessage,PostMessageA,PostMessageW">
|
|
<noreturn>false</noreturn>
|
|
<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>
|
|
<!-- VOID WINAPI PostQuitMessage(
|
|
_In_ int nExitCode); -->
|
|
<function name="PostQuitMessage">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="VOID"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- LRESULT WINAPI DefWindowProc(
|
|
_In_ HWND hWnd,
|
|
_In_ UINT Msg,
|
|
_In_ WPARAM wParam,
|
|
_In_ LPARAM lParam); -->
|
|
<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>
|
|
<!-- UINT WINAPI GetPrivateProfileInt(
|
|
_In_ LPCTSTR lpAppName,
|
|
_In_ LPCTSTR lpKeyName,
|
|
_In_ INT nDefault,
|
|
_In_ LPCTSTR lpFileName); -->
|
|
<function name="GetPrivateProfileInt,GetPrivateProfileIntA,GetPrivateProfileIntW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="UINT"/>
|
|
<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>
|
|
<!-- DWORD WINAPI GetPrivateProfileSection(
|
|
_In_ LPCTSTR lpAppName,
|
|
_Out_ LPTSTR lpReturnedString,
|
|
_In_ DWORD nSize,
|
|
_In_ LPCTSTR lpFileName); -->
|
|
<function name="GetPrivateProfileSection,GetPrivateProfileSectionA,GetPrivateProfileSectionW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<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>
|
|
<!-- DWORD WINAPI GetPrivateProfileSectionNames(
|
|
_Out_ LPTSTR lpszReturnBuffer,
|
|
_In_ DWORD nSize,
|
|
_In_ LPCTSTR lpFileName); -->
|
|
<function name="GetPrivateProfileSectionNames,GetPrivateProfileSectionNamesA,GetPrivateProfileSectionNamesW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<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>
|
|
<!-- DWORD WINAPI GetPrivateProfileString(
|
|
_In_ LPCTSTR lpAppName,
|
|
_In_ LPCTSTR lpKeyName,
|
|
_In_ LPCTSTR lpDefault,
|
|
_Out_ LPTSTR lpReturnedString,
|
|
_In_ DWORD nSize,
|
|
_In_ LPCTSTR lpFileName); -->
|
|
<function name="GetPrivateProfileString,GetPrivateProfileStringA,GetPrivateProfileStringW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<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>
|
|
<!-- BOOL WINAPI GetPrivateProfileStruct(
|
|
_In_ LPCTSTR lpszSection,
|
|
_In_ LPCTSTR lpszKey,
|
|
_Out_ LPVOID lpStruct,
|
|
_In_ UINT uSizeStruct,
|
|
_In_ LPCTSTR szFile); -->
|
|
<function name="GetPrivateProfileStruct,GetPrivateProfileStructA,GetPrivateProfileStructW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<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>
|
|
<!-- HDC BeginPaint(
|
|
_In_ HWND hwnd,
|
|
_Out_ LPPAINTSTRUCT lpPaint); -->
|
|
<function name="BeginPaint">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HDC"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL EndPaint(
|
|
_In_ HWND hWnd,
|
|
_In_ const PAINTSTRUCT *lpPaint); -->
|
|
<function name="EndPaint">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- HGDIOBJ GetStockObject(
|
|
_In_ int fnObject); -->
|
|
<function name="GetStockObject">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HGDIOBJ"/>
|
|
<pure/>
|
|
<use-retval/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HICON WINAPI LoadIcon(
|
|
_In_opt_ HINSTANCE hInstance,
|
|
_In_ LPCTSTR lpIconName); -->
|
|
<function name="LoadIcon,LoadIconA,LoadIconW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HICON"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HBRUSH CreateSolidBrush(
|
|
_In_ COLORREF crColor); -->
|
|
<function name="CreateSolidBrush">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HBRUSH"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL UpdateWindow(
|
|
_In_ HWND hWnd); -->
|
|
<function name="UpdateWindow">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI EnableWindow(
|
|
_In_ HWND hWnd,
|
|
_In_ BOOL bEnable); -->
|
|
<function name="EnableWindow">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HWND WINAPI CreateWindow(
|
|
_In_opt_ LPCTSTR lpClassName,
|
|
_In_opt_ LPCTSTR lpWindowName,
|
|
_In_ DWORD dwStyle,
|
|
_In_ int x,
|
|
_In_ int y,
|
|
_In_ int nWidth,
|
|
_In_ int nHeight,
|
|
_In_opt_ HWND hWndParent,
|
|
_In_opt_ HMENU hMenu,
|
|
_In_opt_ HINSTANCE hInstance,
|
|
_In_opt_ LPVOID lpParam); -->
|
|
<function name="CreateWindow,CreateWindowA,CreateWindowW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HWND"/>
|
|
<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>
|
|
<!-- HWND WINAPI CreateWindowEx(
|
|
_In_ DWORD dwExStyle,
|
|
_In_opt_ LPCTSTR lpClassName,
|
|
_In_opt_ LPCTSTR lpWindowName,
|
|
_In_ DWORD dwStyle,
|
|
_In_ int x,
|
|
_In_ int y,
|
|
_In_ int nWidth,
|
|
_In_ int nHeight,
|
|
_In_opt_ HWND hWndParent,
|
|
_In_opt_ HMENU hMenu,
|
|
_In_opt_ HINSTANCE hInstance,
|
|
_In_opt_ LPVOID lpParam); -->
|
|
<function name="CreateWindowEx,CreateWindowExA,CreateWindowExW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HWND"/>
|
|
<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>
|
|
<!-- BOOL WINAPI SetWindowText(
|
|
_In_ HWND hWnd,
|
|
_In_opt_ LPCTSTR lpString); -->
|
|
<function name="SetWindowText,SetWindowTextA,SetWindowTextW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- ATOM WINAPI RegisterClass(
|
|
_In_ const WNDCLASS *lpWndClass); -->
|
|
<!-- ATOM WINAPI RegisterClassEx(
|
|
_In_ const WNDCLASSEX *lpwcx); -->
|
|
<function name="RegisterClass,RegisterClassEx">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI UnregisterClass(
|
|
_In_ LPCTSTR lpClassName,
|
|
_In_opt_ HINSTANCE hInstance); -->
|
|
<function name="UnregisterClass,UnregisterClassA,UnregisterClassW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int WINAPI MessageBox(
|
|
_In_opt_ HWND hWnd,
|
|
_In_opt_ LPCTSTR lpText,
|
|
_In_opt_ LPCTSTR lpCaption,
|
|
_In_ UINT uType); -->
|
|
<function name="MessageBox,MessageBoxA,MessageBoxW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<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>
|
|
<!-- LPVOID WINAPI GlobalLock(
|
|
_In_ HGLOBAL hMem); -->
|
|
<function name="GlobalLock">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LPVOID"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI GlobalUnlock(
|
|
_In_ HGLOBAL hMem); -->
|
|
<function name="GlobalUnlock">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI OpenClipboard(
|
|
_In_opt_ HWND hWndNewOwner); -->
|
|
<function name="OpenClipboard">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI EmptyClipboard(void); -->
|
|
<!-- BOOL WINAPI CloseClipboard(void); -->
|
|
<function name="EmptyClipboard,CloseClipboard">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
</function>
|
|
<!-- HANDLE WINAPI SetClipboardData(
|
|
_In_ UINT uFormat,
|
|
_In_opt_ HANDLE hMem); -->
|
|
<function name="SetClipboardData">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _rmdir(const char *dirname);
|
|
int _wrmdir(const wchar_t *dirname);-->
|
|
<function name="_rmdir,_wrmdir">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _mkdir(const char *dirname);
|
|
int _wmkdir(const wchar_t *dirname); -->
|
|
<function name="_mkdir,_wmkdir">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--__int64 _abs64( __int64 n);-->
|
|
<function name="_abs64">
|
|
<use-retval/>
|
|
<pure/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<returnValue type="__int64">arg1>0?arg1:-arg1</returnValue>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- HANDLE WINAPI CreateWaitableTimer(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpTimerAttributes,
|
|
_In_ BOOL bManualReset,
|
|
_In_opt_ LPCTSTR lpTimerName );-->
|
|
<function name="CreateWaitableTimer">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI SetWaitableTimer(
|
|
_In_ HANDLE hTimer,
|
|
_In_ const LARGE_INTEGER *pDueTime,
|
|
_In_ LONG lPeriod,
|
|
_In_opt_ PTIMERAPCROUTINE pfnCompletionRoutine,
|
|
_In_opt_ LPVOID lpArgToCompletionRoutine,
|
|
_In_ BOOL fResume);-->
|
|
<function name="SetWaitableTimer">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</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>
|
|
</function>
|
|
<!-- DWORD WINAPI WaitForSingleObject(
|
|
_In_ HANDLE hHandle,
|
|
_In_ DWORD dwMilliseconds); -->
|
|
<function name="WaitForSingleObject">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _pclose(FILE *stream); -->
|
|
<function name="_pclose">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- FILE *_popen( const char *command, const char *mode );
|
|
FILE *_wpopen(const wchar_t *command, const wchar_t *mode);-->
|
|
<function name="_popen,_wpopen,_tpopen">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="FILE *"/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- char *_mktemp(char *template);
|
|
wchar_t *_wmktemp(wchar_t *template); -->
|
|
<function name="_mktemp,_wmktemp">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HANDLE WINAPI FindFirstFileEx(
|
|
_In_ LPCTSTR lpFileName,
|
|
_In_ FINDEX_INFO_LEVELS fInfoLevelId,
|
|
_Out_ LPVOID lpFindFileData,
|
|
_In_ FINDEX_SEARCH_OPS fSearchOp,
|
|
_Reserved_ LPVOID lpSearchFilter,
|
|
_In_ DWORD dwAdditionalFlags
|
|
); -->
|
|
<function name="FindFirstFileEx,FindFirstFileExA,FindFirstFileExW">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="6">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HANDLE WINAPI FindFirstFile(
|
|
_In_ LPCTSTR lpFileName,
|
|
_Out_ LPWIN32_FIND_DATA lpFindFileData); -->
|
|
<function name="FindFirstFile,FindFirstFileW,FindFirstFileA">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI FindClose(_Inout_ HANDLE hFindFile); -->
|
|
<function name="FindClose">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- HANDLE WINAPI CreateThread(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpThreadAttributes,
|
|
_In_ SIZE_T dwStackSize,
|
|
_In_ LPTHREAD_START_ROUTINE lpStartAddress,
|
|
_In_opt_ LPVOID lpParameter,
|
|
_In_ DWORD dwCreationFlags,
|
|
_Out_opt_ LPDWORD lpThreadId); -->
|
|
<function name="CreateThread">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="6"/>
|
|
</function>
|
|
<!-- BOOL WINAPI FindNextFile(
|
|
_In_ HANDLE hFindFile,
|
|
_Out_ LPWIN32_FIND_DATA lpFindFileData); -->
|
|
<function name="FindNextFile,FindNextFileW,FindNextFileA">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI SetEnvironmentVariable(
|
|
_In_ LPCTSTR lpName,
|
|
_In_opt_ LPCTSTR lpValue);-->
|
|
<function name="SetEnvironmentVariable,SetEnvironmentVariableW,SetEnvironmentVariableA">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2"/>
|
|
</function>
|
|
<!-- DWORD WINAPI QueryDosDevice(
|
|
_In_opt_ LPCTSTR lpDeviceName,
|
|
_Out_ LPTSTR lpTargetPath,
|
|
_In_ DWORD ucchMax);-->
|
|
<function name="QueryDosDevice,QueryDosDeviceW,QueryDosDeviceA">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI GetDefaultCommConfig(
|
|
_In_ LPCTSTR lpszName,
|
|
_Out_ LPCOMMCONFIG lpCC,
|
|
_Inout_ LPDWORD lpdwSize);-->
|
|
<function name="GetDefaultCommConfig,GetDefaultCommConfigW,GetDefaultCommConfigA">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="3"/>
|
|
</function>
|
|
<!-- DWORD WINAPI GetTempPath(
|
|
_In_ DWORD nBufferLength,
|
|
_Out_ LPTSTR lpBuffer);-->
|
|
<function name="GetTempPath,GetTempPathW,GetTempPathA">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<valid>0:</valid>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<minsize type="argvalue" arg="1"/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL SetupDiDestroyDeviceInfoList(_In_ HDEVINFO DeviceInfoSet);-->
|
|
<function name="SetupDiDestroyDeviceInfoList">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<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>
|
|
<returnValue type="BOOL"/>
|
|
<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>
|
|
<returnValue type="BOOL"/>
|
|
<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>
|
|
<returnValue type="HDEVINFO"/>
|
|
<leak-ignore/>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- unsigned char *_mbsstr(const unsigned char *str, const unsigned char *strSearch -->
|
|
<function name="_mbsstr,_tcsstr">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!-- unsigned char *_mbsstr_l(const unsigned char *str, const unsigned char *strSearch, _locale_t locale )-->
|
|
<function name="_mbsstr_l">
|
|
<returnValue type="unsigned char *"/>
|
|
<use-retval/>
|
|
<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>
|
|
</function>
|
|
<!-- void *_memccpy(void *dest, const void *src, int c, size_t n);-->
|
|
<function name="_memccpy">
|
|
<leak-ignore/>
|
|
<returnValue type="void *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="sizeof" arg="2"/>
|
|
<minsize type="argvalue" arg="4"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- int _fcloseall( void ); -->
|
|
<function name="_fcloseall">
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
</function>
|
|
<!-- int _open(const char *filename, int oflag [, int pmode] );
|
|
int _wopen( const wchar_t *filename, int oflag [, int pmode]); -->
|
|
<function name="_open,_wopen,_topen">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _close(int fildes); -->
|
|
<function name="_close">
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- void _swab(char *src, char *dest, int n);-->
|
|
<function name="_swab">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- int _strnicmp(const char *string1, const char *string2, size_t count); -->
|
|
<!-- int _wcsnicmp(const wchar_t *string1, const wchar_t *string2, size_t count); -->
|
|
<!-- int _mbsnicmp(const unsigned char *string1, const unsigned char *string2, size_t count); -->
|
|
<function name="_strnicmp,_wcsnicmp,_mbsnicmp,_tcsncicmp,_tcsnicmp">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- int _strnicmp_l(const char *string1, const char *string2, size_t count, _locale_t locale); -->
|
|
<!-- int _wcsnicmp_l(const wchar_t *string1, const wchar_t *string2, size_t count, _locale_t locale); -->
|
|
<!-- int _mbsnicmp_l(const unsigned char *string1, const unsigned char *string2, size_t count, _locale_t locale); -->
|
|
<function name="_strnicmp_l,_wcsnicmp_l,_mbsnicmp_l,_tcsncicmp_l">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- void *_malloc_dbg(size_t size, int blockType, const char *filename, int linenumber); -->
|
|
<!-- void * _aligned_malloc_dbg(size_t size, size_t alignment, const char *filename, int linenumber); -->
|
|
<function name="_malloc_dbg,_aligned_malloc_dbg">
|
|
<use-retval/>
|
|
<returnValue type="void *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- void * _aligned_malloc(size_t size, size_t alignment); -->
|
|
<function name="_aligned_malloc">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void *"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- size_t _mbslen_l( const unsigned char *str, _locale_t locale); -->
|
|
<!-- size_t _mbstrlen_l( const char *str, _locale_t locale ); -->
|
|
<function name="_mbslen_l,_mbstrlen_l,_tcsclen_l">
|
|
<use-retval/>
|
|
<pure/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="size_t"/>
|
|
<leak-ignore/>
|
|
<returnValue>strlen(arg1)</returnValue>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- size_t _mbslen( const unsigned char *str ); -->
|
|
<!-- size_t _mbstrlen( const char *str ); -->
|
|
<function name="_mbslen,_mbstrlen,_tcslen,_tcsclen">
|
|
<use-retval/>
|
|
<returnValue type="size_t"/>
|
|
<pure/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<returnValue>strlen(arg1)</returnValue>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!-- unsigned char *_mbsrchr_l(const unsigned char *str, unsigned int c, _locale_t locale ); // C only
|
|
unsigned char *_mbsrchr_(unsigned char *str, unsigned int c, _locale_t locale ); // C++ only
|
|
const unsigned char *_mbsrchr_(const unsigned char *str, unsigned int c, _locale_t locale ); // C++ only-->
|
|
<function name="_mbsrchr_l">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="unsigned char *"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- unsigned char *_mbsrchr(const unsigned char *str, unsigned int c); // C only
|
|
unsigned char *_mbsrchr(unsigned char *str, unsigned int c); // C++ only
|
|
const unsigned char *_mbsrchr(const unsigned char *str, unsigned int c); // C++ only-->
|
|
<function name="_mbsrchr,_tcsrchr">
|
|
<use-retval/>
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="unsigned char *"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- size_t _strftime_l(char *strDest, size_t maxsize, const char *format, const struct tm *timeptr, _locale_t locale); -->
|
|
<!-- size_t _wcsftime_l(wchar_t *strDest, size_t maxsize, const wchar_t *format, const struct tm *timeptr, _locale_t locale); -->
|
|
<function name="_strftime_l,_wcsftime_l">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="size_t"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- size_t _tcsftime(char *s, size_t max, const char *fmt, const struct tm *p); -->
|
|
<function name="_tcsftime">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="size_t"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- errno_t _wfreopen_s(FILE** pFile, const wchar_t *path, const wchar_t *mode, FILE *stream); -->
|
|
<function name="_wfreopen_s,_tfreopen_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="errno_t"/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- FILE *_wfreopen(const wchar_t *path, const wchar_t *mode, FILE *stream); -->
|
|
<function name="_wfreopen,_tfreopen">
|
|
<returnValue type="FILE *"/>
|
|
<noreturn>false</noreturn>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- char *_mbsncpy(unsigned char char *s, const unsigned char *ct, size_t n); -->
|
|
<function name="_mbsncpy,_mbsnbcpy,_tcsncpy">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- errno_t _mbsncpy_s(unsigned char *strDest, size_t numberOfElements, const unsigned char *strSource, size_t count); -->
|
|
<function name="_mbsncpy_s">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="errno_t"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="4"/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- char *_strncpy_l(unsigned char char *s, const unsigned char *ct, size_t n, locale_t locale ); -->
|
|
<!-- wchar_t *_wcsncpy_l(wchar_t *strDest, const wchar_t *strSource, size_t count, locale_t locale);-->
|
|
<!-- unsigned char *_mbsncpy_l(unsigned char *strDest, const unsigned char *strSource, size_t count, _locale_t locale);-->
|
|
<function name="_strncpy_l,_wcsncpy_l,_mbsncpy_l,_tcsncpy_l">
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- errno_t _strncpy_s_l(char *strDest, size_t numberOfElements, const char *strSource, size_t count, _locale_t locale); -->
|
|
<!-- errno_t _wcsncpy_s_l(wchar_t *strDest, size_t numberOfElements, const wchar_t *strSource, size_t count, _locale_t locale); -->
|
|
<!-- errno_t _mbsncpy_s_l(unsigned char *strDest, size_t numberOfElements, const unsigned char *strSource, size_t count, locale_t locale); -->
|
|
<function name="_strncpy_s_l,_wcsncpy_s_l,_mbsncpy_s_l">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="errno_t"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<minsize type="argvalue" arg="4"/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- errno_t _localtime32_s( struct tm* _tm, const __time32_t *time);
|
|
errno_t _localtime64_s( struct tm* _tm, const __time64_t *time); -->
|
|
<function name="_localtime32_s,_localtime64_s">
|
|
<returnValue type="errno_t"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- __time32_t _time32( __time32_t *destTime ); -->
|
|
<function name="_time32">
|
|
<returnValue type="__time32_t"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- __time64_t _time64( __time64_t *destTime ); -->
|
|
<function name="_time64">
|
|
<returnValue type="__time64_t"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI CreateDirectory(_In_ LPCTSTR lpPathName,
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes); -->
|
|
<function name="CreateDirectory,CreateDirectoryA,CreateDirectoryW">
|
|
<returnValue type="BOOL"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2" default="0">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI RemoveDirectory(_In_ LPCTSTR lpPathName); -->
|
|
<function name="RemoveDirectory,RemoveDirectoryA,RemoveDirectoryW">
|
|
<returnValue type="BOOL"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int iswascii( wint_t c );-->
|
|
<!-- int __isascii(int c); -->
|
|
<function name="__isascii,iswascii">
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _getch_nolock( void ); -->
|
|
<!-- int _getchar(void); -->
|
|
<function name="_getchar,_getch_nolock">
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
</function>
|
|
<!-- wint_t _getwch_nolock( void ); -->
|
|
<!-- wint_t _getwch(void);-->
|
|
<function name="_getwch,_getwch_nolock">
|
|
<returnValue type="wint_t"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
</function>
|
|
<!--VOID WINAPI Sleep(
|
|
_In_ DWORD dwMilliseconds);-->
|
|
<function name="Sleep">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="VOID"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--DWORD WINAPI SleepEx(
|
|
_In_ DWORD dwMilliseconds,
|
|
_In_ BOOL bAlertable);-->
|
|
<function name="SleepEx">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HMODULE WINAPI LoadLibrary(
|
|
_In_ LPCTSTR lpFileName);-->
|
|
<function name="LoadLibrary,LoadLibraryA,LoadLibraryW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HMODULE"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!--HMODULE WINAPI LoadLibraryEx(
|
|
_In_ LPCTSTR lpFileName,
|
|
_Reserved_ HANDLE hFile,
|
|
_In_ DWORD dwFlags);-->
|
|
<function name="LoadLibraryEx,LoadLibraryExA,LoadLibraryExW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HMODULE"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<valid>0</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HMODULE WINAPI GetModuleHandle(
|
|
_In_opt_ LPCTSTR lpModuleName);-->
|
|
<function name="GetModuleHandle,GetModuleHandleA,GetModuleHandleW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HMODULE"/>
|
|
<use-retval/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI GetModuleHandleEx(
|
|
_In_ DWORD dwFlags,
|
|
_In_opt_ LPCTSTR lpModuleName,
|
|
_Out_ HMODULE *phModule);-->
|
|
<function name="GetModuleHandleEx,GetModuleHandleExA,GetModuleHandleExW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI FreeLibrary(
|
|
_In_ HMODULE hModule);-->
|
|
<function name="FreeLibrary">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--VOID WINAPI FreeLibraryAndExitThread(
|
|
_In_ HMODULE hModule,
|
|
_In_ DWORD dwExitCode);-->
|
|
<function name="FreeLibraryAndExitThread">
|
|
<noreturn>true</noreturn>
|
|
<returnValue type="VOID"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--FARPROC WINAPI GetProcAddress(
|
|
_In_ HMODULE hModule,
|
|
_In_ LPCSTR lpProcName);-->
|
|
<function name="GetProcAddress">
|
|
<noreturn>false</noreturn>
|
|
<use-retval/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI CreateEvent(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpEventAttributes,
|
|
_In_ BOOL bManualReset,
|
|
_In_ BOOL bInitialState,
|
|
_In_opt_ LPCTSTR lpName);-->
|
|
<function name="CreateEvent,CreateEventA,CreateEventW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI CreateEventEx(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpEventAttributes,
|
|
_In_opt_ LPCTSTR lpName,
|
|
_In_ DWORD dwFlags,
|
|
_In_ DWORD dwDesiredAccess);-->
|
|
<function name="CreateEventEx,CreateEventExA,CreateEventExW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI OpenEvent(
|
|
_In_ DWORD dwDesiredAccess,
|
|
_In_ BOOL bInheritHandle,
|
|
_In_ LPCTSTR lpName);-->
|
|
<function name="OpenEvent,OpenEventA,OpenEventW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI PulseEvent(
|
|
_In_ HANDLE hEvent);-->
|
|
<!--BOOL WINAPI ResetEvent(
|
|
_In_ HANDLE hEvent);-->
|
|
<!--BOOL WINAPI SetEvent(
|
|
_In_ HANDLE hEvent);-->
|
|
<function name="PulseEvent,ResetEvent,SetEvent">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--void WINAPI InitializeCriticalSection(
|
|
_Out_ LPCRITICAL_SECTION lpCriticalSection);-->
|
|
<function name="InitializeCriticalSection">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI InitializeCriticalSectionAndSpinCount(
|
|
_Out_ LPCRITICAL_SECTION lpCriticalSection,
|
|
_In_ DWORD dwSpinCount);-->
|
|
<function name="InitializeCriticalSectionAndSpinCount">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI InitializeCriticalSectionEx(
|
|
_Out_ LPCRITICAL_SECTION lpCriticalSection,
|
|
_In_ DWORD dwSpinCount,
|
|
_In_ DWORD Flags);-->
|
|
<function name="InitializeCriticalSectionEx">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--DWORD WINAPI SetCriticalSectionSpinCount(
|
|
_Inout_ LPCRITICAL_SECTION lpCriticalSection,
|
|
_In_ DWORD dwSpinCount);-->
|
|
<function name="SetCriticalSectionSpinCount">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--void WINAPI DeleteCriticalSection(
|
|
_Inout_ LPCRITICAL_SECTION lpCriticalSection);-->
|
|
<function name="DeleteCriticalSection">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--void WINAPI EnterCriticalSection(
|
|
_Inout_ LPCRITICAL_SECTION lpCriticalSection);-->
|
|
<function name="EnterCriticalSection">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI TryEnterCriticalSection(
|
|
_Inout_ LPCRITICAL_SECTION lpCriticalSection);-->
|
|
<function name="TryEnterCriticalSection">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--void WINAPI LeaveCriticalSection(
|
|
_Inout_ LPCRITICAL_SECTION lpCriticalSection);-->
|
|
<function name="LeaveCriticalSection">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--LPTSTR WINAPI lstrcat(
|
|
_Inout_ LPTSTR lpString1,
|
|
_In_ LPTSTR lpString2);-->
|
|
<!-- TODO: When implemented use minsize for argument 1 to verify that the
|
|
buffer is at least "(strlen(arg1)+strlen(arg2)+1)*sizeof(TCHAR)" bytes in size.-->
|
|
<function name="lstrcat">
|
|
<returnValue type="LPTSTR"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<warn severity="style" alternatives="StringCchCat">Due to security concerns it is not recommended to use this function, see MSDN for details.</warn>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!-- int WINAPI lstrlen(_In_ LPCTSTR lpString); -->
|
|
<function name="lstrlen,lstrlenA,lstrlenW">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<warn severity="style" alternatives="StringCbLength,StringCchLength">Due to security concerns it is not recommended to use this function, see MSDN for details.</warn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI CreateSemaphore(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
|
|
_In_ LONG lInitialCount,
|
|
_In_ LONG lMaximumCount,
|
|
_In_opt_ LPCTSTR lpName);-->
|
|
<function name="CreateSemaphore,CreateSemaphoreA,CreateSemaphoreW">
|
|
<returnValue type="HANDLE"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>1:</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI CreateSemaphoreEx(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
|
|
_In_ LONG lInitialCount,
|
|
_In_ LONG lMaximumCount,
|
|
_In_opt_ LPCTSTR lpName,
|
|
_Reserved_ DWORD dwFlags,
|
|
_In_ DWORD dwDesiredAccess);-->
|
|
<function name="CreateSemaphoreEx,CreateSemaphoreExA,CreateSemaphoreExW">
|
|
<returnValue type="HANDLE"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>1:</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-uninit/>
|
|
<!-- dwFlags is reserved and must be 0 -->
|
|
<valid>0</valid>
|
|
</arg>
|
|
<arg nr="6">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI OpenSemaphore(
|
|
_In_ DWORD dwDesiredAccess,
|
|
_In_ BOOL bInheritHandle,
|
|
_In_ LPCTSTR lpName);-->
|
|
<function name="OpenSemaphore,OpenSemaphoreA,OpenSemaphoreW">
|
|
<returnValue type="HANDLE"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
<not-bool/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI ReleaseSemaphore(
|
|
_In_ HANDLE hSemaphore,
|
|
_In_ LONG lReleaseCount,
|
|
_Out_opt_ LPLONG lpPreviousCount);-->
|
|
<function name="ReleaseSemaphore">
|
|
<returnValue type="BOOL"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>1:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI CreateMutex(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpMutexAttributes,
|
|
_In_ BOOL bInitialOwner,
|
|
_In_opt_ LPCTSTR lpName);-->
|
|
<function name="CreateMutex,CreateMutexA,CreateMutexW">
|
|
<returnValue type="HANDLE"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI CreateMutexEx(
|
|
_In_opt_ LPSECURITY_ATTRIBUTES lpMutexAttributes,
|
|
_In_opt_ LPCTSTR lpName,
|
|
_In_ DWORD dwFlags,
|
|
_In_ DWORD dwDesiredAccess);-->
|
|
<function name="CreateMutexEx,CreateMutexExA,CreateMutexExW">
|
|
<returnValue type="HANDLE"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>0,1</valid>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI OpenMutex(
|
|
_In_ DWORD dwDesiredAccess,
|
|
_In_ BOOL bInheritHandle,
|
|
_In_ LPCTSTR lpName);-->
|
|
<function name="OpenMutex,OpenMutexA,OpenMutexW">
|
|
<returnValue type="HANDLE"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-null/>
|
|
<not-bool/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI ReleaseMutex(
|
|
_In_ HANDLE hMutex);-->
|
|
<function name="ReleaseMutex">
|
|
<returnValue type="BOOL"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!--void *_malloca(
|
|
size_t size);-->
|
|
<function name="_malloca">
|
|
<returnValue type="void *"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--void *_alloca(
|
|
size_t size);-->
|
|
<function name="_alloca">
|
|
<returnValue type="void *"/>
|
|
<noreturn>false</noreturn>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--void _freea(
|
|
void *memblock);-->
|
|
<function name="_freea">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--char * strlwr(_Inout_z_ char * _Str);-->
|
|
<function name="strlwr">
|
|
<returnValue type="char *">arg1</returnValue>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<warn severity="style" reason="Obsolete" alternatives="_strlwr,_strlwr_s"/>
|
|
</function>
|
|
<!--char * strupr(_Inout_z_ char * _Str);-->
|
|
<function name="strupr">
|
|
<returnValue type="char *">arg1</returnValue>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
<warn severity="style" reason="Obsolete" alternatives="_strupr,_strupr_s"/>
|
|
</function>
|
|
<!--void WINAPI GetLocalTime(_Out_ LPSYSTEMTIME lpSystemTime);-->
|
|
<!--void WINAPI GetSystemTime(_Out_ LPSYSTEMTIME lpSystemTime);-->
|
|
<function name="GetLocalTime,GetSystemTime">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!--DWORD WINAPI GetLastError(void);-->
|
|
<function name="GetLastError">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<use-retval/>
|
|
</function>
|
|
<!--void WINAPI SetLastError(_In_ DWORD dwErrCode);-->
|
|
<function name="SetLastError">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI AllocateAndInitializeSid(
|
|
_In_ PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
|
|
_In_ BYTE nSubAuthorityCount,
|
|
_In_ DWORD dwSubAuthority0,
|
|
_In_ DWORD dwSubAuthority1,
|
|
_In_ DWORD dwSubAuthority2,
|
|
_In_ DWORD dwSubAuthority3,
|
|
_In_ DWORD dwSubAuthority4,
|
|
_In_ DWORD dwSubAuthority5,
|
|
_In_ DWORD dwSubAuthority6,
|
|
_In_ DWORD dwSubAuthority7,
|
|
_Out_ PSID *pSid);-->
|
|
<function name="AllocateAndInitializeSid">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="11">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!--PVOID WINAPI FreeSid(_In_ PSID pSid);-->
|
|
<function name="FreeSid">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="PVOID"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--LPVOID WINAPI HeapAlloc(
|
|
_In_ HANDLE hHeap,
|
|
_In_ DWORD dwFlags,
|
|
_In_ SIZE_T dwBytes);-->
|
|
<function name="HeapAlloc">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LPVOID"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--LPVOID WINAPI HeapReAlloc(
|
|
_In_ HANDLE hHeap,
|
|
_In_ DWORD dwFlags,
|
|
_In_ LPVOID lpMem,
|
|
_In_ SIZE_T dwBytes);-->
|
|
<function name="HeapReAlloc">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LPVOID"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI HeapFree(
|
|
_In_ HANDLE hHeap,
|
|
_In_ DWORD dwFlags,
|
|
_In_ LPVOID lpMem);-->
|
|
<function name="HeapFree">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--SIZE_T WINAPI HeapSize(
|
|
_In_ HANDLE hHeap,
|
|
_In_ DWORD dwFlags,
|
|
_In_ LPCVOID lpMem);-->
|
|
<function name="HeapSize">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="SIZE_T"/>
|
|
<use-retval/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--BOOL WINAPI HeapValidate(
|
|
_In_ HANDLE hHeap,
|
|
_In_ DWORD dwFlags,
|
|
_In_opt_ LPCVOID lpMem);-->
|
|
<function name="HeapValidate">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HANDLE WINAPI GetProcessHeap(void);-->
|
|
<function name="GetProcessHeap">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HANDLE"/>
|
|
<use-retval/>
|
|
</function>
|
|
<!--BOOL WINAPI GetUserName(
|
|
_Out_ LPTSTR lpBuffer,
|
|
_Inout_ LPDWORD lpnSize);-->
|
|
<function name="GetUserName,GetUserNameA,GetUserNameW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<!-- Allowed to be nullptr if variable pointed to by arg2 is 0 -->
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int WINAPI GetWindowText(
|
|
_In_ HWND hWnd,
|
|
_Out_ LPTSTR lpString,
|
|
_In_ int nMaxCount);-->
|
|
<function name="GetWindowText,GetWindowTextA,GetWindowTextW">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<!-- The function does nothing (useful) if arg1 is nullptr or arg2 is nullptr or arg3 is 0 -->
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<!-- TODO: #8335 arg3 is the number of characters, not bytes. -->
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>1:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--SOCKET WSAAPI socket(
|
|
__in int af,
|
|
__in int type,
|
|
__in int protocol);-->
|
|
<function name="socket">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="SOCKET"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int closesocket(
|
|
__in SOCKET s);-->
|
|
<function name="closesocket">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--SOCKET accept(
|
|
__in SOCKET s,
|
|
__out struct sockaddr *addr,
|
|
__inout int *addrlen);-->
|
|
<function name="accept">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="SOCKET"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int bind(
|
|
__in SOCKET s,
|
|
__in const struct sockaddr *name,
|
|
__in int namelen)-->
|
|
<function name="bind">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--int connect(
|
|
__in SOCKET s,
|
|
__in const struct sockaddr *name,
|
|
__in int namelen);-->
|
|
<function name="connect">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--int getpeername(
|
|
__in SOCKET s,
|
|
__out struct sockaddr *name,
|
|
__inout int *namelen);-->
|
|
<function name="getpeername">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int getsockname(
|
|
__in SOCKET s,
|
|
__out struct sockaddr *name,
|
|
__inout int *namelen);-->
|
|
<function name="getsockname">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int getsockopt(
|
|
__in SOCKET s,
|
|
__in int level,
|
|
__in int optname,
|
|
__out char *optval,
|
|
__inout int *optlen);-->
|
|
<function name="getsockopt">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--u_long WSAAPI htonl(
|
|
__in u_long hostlong);-->
|
|
<function name="htonl">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="u_long"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--u_short WSAAPI htons(
|
|
__in u_short hostshort);-->
|
|
<function name="htons">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="u_short"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--unsigned long inet_addr(
|
|
__in const char *cp);-->
|
|
<function name="inet_addr">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="unsigned long"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
</arg>
|
|
</function>
|
|
<!--char* FAR inet_ntoa(
|
|
__in struct in_addr in);-->
|
|
<function name="inet_ntoa">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="char *"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int ioctlsocket(
|
|
__in SOCKET s,
|
|
__in long cmd,
|
|
__inout u_long *argp);-->
|
|
<function name="ioctlsocket">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!--int listen(
|
|
__in SOCKET s,
|
|
__in int backlog);-->
|
|
<function name="listen">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--u_long WSAAPI ntohl(
|
|
__in u_long netlong);-->
|
|
<function name="ntohl">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="u_long"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--u_short WSAAPI ntohs(
|
|
__in u_short netshort);-->
|
|
<function name="ntohs">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="u_short"/>
|
|
<leak-ignore/>
|
|
<use-retval/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int recv(
|
|
__in SOCKET s,
|
|
__out char *buf,
|
|
__in int len,
|
|
__in int flags);-->
|
|
<function name="recv">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="5"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int recvfrom(
|
|
__in SOCKET s,
|
|
__out char *buf,
|
|
__in int len,
|
|
__in int flags,
|
|
__out struct sockaddr *from,
|
|
__inout_opt int *fromlen);-->
|
|
<function name="recvfrom">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="5"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="5">
|
|
</arg>
|
|
<arg nr="6">
|
|
</arg>
|
|
</function>
|
|
<!--int select(
|
|
__in int nfds,
|
|
__inout fd_set *readfds,
|
|
__inout fd_set *writefds,
|
|
__inout fd_set *exceptfds,
|
|
__in const struct timeval *timeout);-->
|
|
<function name="select">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<!-- ignored -->
|
|
</arg>
|
|
<arg nr="2">
|
|
<!-- optional -->
|
|
</arg>
|
|
<arg nr="3">
|
|
<!-- optional -->
|
|
</arg>
|
|
<arg nr="4">
|
|
<!-- optional -->
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int send(
|
|
__in SOCKET s,
|
|
__in const char *buf,
|
|
__in int len,
|
|
__in int flags);-->
|
|
<function name="send">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int sendto(
|
|
__in SOCKET s,
|
|
__in const char *buf,
|
|
__in int len,
|
|
__in int flags,
|
|
__in const struct sockaddr *to,
|
|
__in int tolen);-->
|
|
<function name="sendto">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="3"/>
|
|
</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>
|
|
</function>
|
|
<!--int setsockopt(
|
|
__in SOCKET s,
|
|
__in int level,
|
|
__in int optname,
|
|
__in const char *optval,
|
|
__in int optlen);-->
|
|
<function name="setsockopt">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-null/>
|
|
<minsize type="argvalue" arg="5"/>
|
|
</arg>
|
|
<arg nr="5">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!--int shutdown(
|
|
__in SOCKET s,
|
|
__in int how);-->
|
|
<function name="shutdown">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int WSAStartup(
|
|
__in WORD wVersionRequested,
|
|
__out LPWSADATA lpWSAData);-->
|
|
<function name="WSAStartup">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!--int WSACleanup(void);-->
|
|
<function name="WSACleanup">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
</function>
|
|
<!--int WSAGetLastError(void);-->
|
|
<function name="WSAGetLastError">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<use-retval/>
|
|
</function>
|
|
<!--void WSASetLastError(
|
|
__in int iError);-->
|
|
<function name="WSASetLastError">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--int _fileno(FILE *stream);-->
|
|
<function name="_fileno">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="int"/>
|
|
<use-retval/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _tolower(int c); -->
|
|
<function name="_tolower">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>0:255</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- int _tolower_l(int c, _locale_t locale); -->
|
|
<function name="_tolower_l">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>0:255</valid>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _towlower_l(wint_t c, _locale_t locale ); -->
|
|
<function name="_towlower_l">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _toupper(int c); -->
|
|
<function name="_toupper">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>0:255</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- int _toupper_l(int c, _locale_t locale); -->
|
|
<function name="_toupper_l">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<valid>0:255</valid>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- int _towupper_l(wint_t c, _locale_t locale ); -->
|
|
<function name="_towupper_l">
|
|
<use-retval/>
|
|
<returnValue type="int"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<function name="umask">
|
|
<returnValue type="int"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<warn severity="style" alternatives="_umask" reason="Obsolete"/>
|
|
</function>
|
|
<function name="_umask">
|
|
<returnValue type="int"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<function name="_umask_s">
|
|
<returnValue type="errno_t"/>
|
|
<arg nr="1">
|
|
<not-bool/>
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
</function>
|
|
<!-- HLOCAL WINAPI LocalAlloc(
|
|
_In_ UINT uFlags,
|
|
_In_ SIZE_T uBytes); -->
|
|
<function name="LocalAlloc">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HLOCAL"/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<warn severity="style" reason="Obsolete" alternatives="HeapAlloc"/>
|
|
</function>
|
|
<!-- HLOCAL WINAPI LocalReAlloc(
|
|
_In_ HLOCAL hMem,
|
|
_In_ SIZE_T uBytes,
|
|
_In_ UINT uFlags); -->
|
|
<function name="LocalReAlloc">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HLOCAL"/>
|
|
<arg nr="1">
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
<not-bool/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
</function>
|
|
<!-- HLOCAL WINAPI LocalFree(_In_ HLOCAL hMem); -->
|
|
<function name="LocalFree">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="HLOCAL"/>
|
|
<arg nr="1">
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- UINT WINAPI LocalSize(_In_ HLOCAL hMem); -->
|
|
<!-- UINT WINAPI LocalFlags(_In_ HLOCAL hMem); -->
|
|
<function name="LocalSize,LocalFlags">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="UINT"/>
|
|
<use-retval/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- LPVOID WINAPI LocalLock(_In_ HLOCAL hMem); -->
|
|
<function name="LocalLock">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="LPVOID"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- BOOL WINAPI LocalUnlock(_In_ HLOCAL hMem); -->
|
|
<function name="LocalUnlock">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="BOOL"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-bool/>
|
|
</arg>
|
|
</function>
|
|
<!-- DWORD WINAPI SetFilePointer(
|
|
_In_ HANDLE hFile,
|
|
_In_ LONG lDistanceToMove,
|
|
_Inout_opt_ PLONG lpDistanceToMoveHigh,
|
|
_In_ DWORD dwMoveMethod); -->
|
|
<function name="SetFilePointer">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="DWORD"/>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="3">
|
|
<!-- nullptr is valid -->
|
|
</arg>
|
|
<arg nr="4">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- unsigned char *_mbscat(unsigned char *strDestination, const unsigned char *strSource); -->
|
|
<function name="_mbscat">
|
|
<returnValue type="unsigned char *"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- errno_t _mbscat_s(unsigned char *strDestination, size_t numberOfElements, const unsigned char *strSource ); -->
|
|
<function name="_mbscat_s,_tcscat_s">
|
|
<returnValue type="errno_t"/>
|
|
<noreturn>false</noreturn>
|
|
<leak-ignore/>
|
|
<arg nr="1">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
<strz/>
|
|
<minsize type="argvalue" arg="2"/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-null/>
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!--HPEN CreatePen( _In_ int fnPenStyle, _In_ int nWidth, _In_ COLORREF crColor); -->
|
|
<function name="CreatePen">
|
|
<returnValue type="HPEN"/>
|
|
<noreturn>false</noreturn>
|
|
<arg nr="1">
|
|
<not-uninit/>
|
|
</arg>
|
|
<arg nr="2">
|
|
<not-uninit/>
|
|
<valid>0:</valid>
|
|
</arg>
|
|
<arg nr="3">
|
|
<not-uninit/>
|
|
</arg>
|
|
</function>
|
|
<!-- Intrinsic __noop https://docs.microsoft.com/en-us/cpp/intrinsics/noop -->
|
|
<function name="__noop">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
<leak-ignore/>
|
|
<arg nr="any"/>
|
|
</function>
|
|
<!-- Intrinsic void __nop(); https://docs.microsoft.com/en-us/cpp/intrinsics/nop -->
|
|
<function name="__nop">
|
|
<noreturn>false</noreturn>
|
|
<returnValue type="void"/>
|
|
</function>
|
|
<podtype name="LARGE_INTEGER" sign="s" size="8"/>
|
|
<podtype name="POINTER_SIGNED" sign="s"/>
|
|
<podtype name="POINTER_UNSIGNED" sign="u"/>
|
|
<podtype name="ULARGE_INTEGER" sign="u" size="8"/>
|
|
<podtype name="__time32_t" sign="s" size="4"/>
|
|
<podtype name="__time64_t" sign="s" size="8"/>
|
|
<podtype name="_locale_t"/>
|
|
<define name="afx_msg" value=""/>
|
|
<define name="DEBUG_NEW" value="new"/>
|
|
<define name="DECLARE_MESSAGE_MAP()" value=""/>
|
|
<define name="DECLARE_DYNAMIC(x)" value=""/>
|
|
<define name="DECLARE_DYNAMIC_CLASS(x)" value=""/>
|
|
<define name="DECLARE_DYNCREATE(x)" value=""/>
|
|
<define name="INVALID_HANDLE_VALUE" value="0"/>
|
|
<define name="INVALID_SOCKET" value="0"/>
|
|
<define name="WINAPI" value="__stdcall"/>
|
|
<define name="__pragma(x)" value=""/>
|
|
<define name="_countof(_Array)" value="(sizeof(_Array) / sizeof(_Array[0]))"/>
|
|
<define name="__wchar_t" value="wchar_t"/>
|
|
<define name="RtlEqualMemory(Destination,Source,Length)" value="(!memcmp((Destination),(Source),(Length)))"/>
|
|
<define name="RtlMoveMemory(Destination,Source,Length)" value="memmove((Destination),(Source),(Length))"/>
|
|
<define name="RtlCopyMemory(Destination,Source,Length)" value="memcpy((Destination),(Source),(Length))"/>
|
|
<define name="RtlFillMemory(Destination,Length,Fill)" value="memset((Destination),(Fill),(Length))"/>
|
|
<define name="RtlZeroMemory(Destination,Length)" value="memset((Destination),0,(Length))"/>
|
|
<define name="MoveMemory" value="RtlMoveMemory"/>
|
|
<define name="CopyMemory" value="RtlCopyMemory"/>
|
|
<define name="FillMemory" value="RtlFillMemory"/>
|
|
<define name="ZeroMemory" value="RtlZeroMemory"/>
|
|
<define name="SecureZeroMemory" value="RtlSecureZeroMemory"/>
|
|
<define name="CALLBACK" value="__stdcall"/>
|
|
<define name="CONST" value="const"/>
|
|
<define name="APIENTRY" value="WINAPI"/>
|
|
<!-- WORD MAKEWORD(BYTE bLow, BYTE bHigh); -->
|
|
<define name="MAKEWORD(bLow, bHigh)" value="((WORD)(((BYTE)(((DWORD_PTR)(bLow)) & 0xff)) | ((WORD)((BYTE)(((DWORD_PTR)(bHigh)) & 0xff))) << 8))"/>
|
|
<!-- DWORD MAKELONG(WORD wLow, WORD wHigh); -->
|
|
<define name="MAKELONG(wLow, wHigh)" value="((LONG)(((WORD)(((DWORD_PTR)(wLow)) & 0xffff)) | ((DWORD)((WORD)(((DWORD_PTR)(wHigh)) & 0xffff))) << 16))"/>
|
|
<!-- WORD LOWORD(DWORD dwValue); -->
|
|
<define name="LOWORD(dwValue)" value="((WORD)(((DWORD_PTR)(dwValue)) & 0xffff))"/>
|
|
<!-- WORD HIWORD(DWORD dwValue); -->
|
|
<define name="HIWORD(dwValue)" value="((WORD)((((DWORD_PTR)(dwValue)) >> 16) & 0xffff))"/>
|
|
<!-- BYTE LOBYTE(WORD wValue); -->
|
|
<define name="LOBYTE(wValue)" value="((BYTE)(((DWORD_PTR)(wValue)) & 0xff))"/>
|
|
<!-- BYTE HIBYTE(WORD wValue); -->
|
|
<define name="HIBYTE(wValue)" value="((BYTE)((((DWORD_PTR)(wValue)) >> 8) & 0xff))"/>
|
|
<!-- BOOL SUCCEEDED(HRESULT hr); -->
|
|
<define name="SUCCEEDED(hr)" value="(((HRESULT)(hr)) >= 0)"/>
|
|
<!-- BOOL FAILED(HRESULT hr); -->
|
|
<define name="FAILED(hr)" value="(((HRESULT)(hr)) < 0)"/>
|
|
<!-- WORD HRESULT_CODE( HRESULT hr ); -->
|
|
<define name="HRESULT_CODE(hr)" value="((hr) & 0xFFFF)"/>
|
|
<!-- WORD HRESULT_FACILITY( HRESULT hr ); -->
|
|
<define name="HRESULT_FACILITY(hr)" value="(((hr) >> 16) & 0x1fff)"/>
|
|
<!-- HRESULT HRESULT_FROM_NT( DWORD x ); -->
|
|
<define name="HRESULT_FROM_NT(x)" value="((HRESULT) ((x) | FACILITY_NT_BIT))"/>
|
|
<!-- HRESULT HRESULT_FROM_WIN32( DWORD x); -->
|
|
<define name="HRESULT_FROM_WIN32(x)" value="((HRESULT)(x) <= 0 ? ((HRESULT)(x)) : ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)))"/>
|
|
<!-- HRESULT __HRESULT_FROM_WIN32( DWORD x); -->
|
|
<define name="__HRESULT_FROM_WIN32(x)" value="((HRESULT)(x) <= 0 ? ((HRESULT)(x)) : ((HRESULT) (((x) & 0x0000FFFF) | (FACILITY_WIN32 << 16) | 0x80000000)))"/>
|
|
<!-- DWORD HRESULT_SEVERITY(HRESULT hr); -->
|
|
<define name="HRESULT_SEVERITY(hr)" value="(((hr) >> 31) & 0x1)"/>
|
|
<!-- DBOOL IS_ERROR( HRESULT Status); -->
|
|
<define name="IS_ERROR(Status)" value="(((unsigned long)(Status)) >> 31 == 1)"/>
|
|
<!-- HRESULT MAKE_HRESULT( WORD sev, WORD fac, WORD code); -->
|
|
<define name="MAKE_HRESULT(sev,fac,code)" value="((HRESULT) (((unsigned long)(sev) << 31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )"/>
|
|
<!-- SCODE MAKE_SCODE( WORD sev, WORD fac, WORD code);-->
|
|
<define name="MAKE_SCODE(sev,fac,code)" value="((SCODE) (((unsigned long)(sev) << 31) | ((unsigned long)(fac) << 16) | ((unsigned long)(code))) )"/>
|
|
<!-- LPWSTR OLESTR( LPSTR str );-->
|
|
<define name="OLESTR(str)" value="L##str"/>
|
|
<!-- WORD SCODE_CODE(SCODE sc);-->
|
|
<define name="SCODE_CODE(sc)" value="((sc) & 0xFFFF)"/>
|
|
<!-- WORD SCODE_FACILITY(SCODE sc);-->
|
|
<define name="SCODE_FACILITY(sc)" value="(((sc) >> 16) & 0x1fff)"/>
|
|
<!-- DWORD SCODE_SEVERITY( SCODE sc );-->
|
|
<define name="SCODE_SEVERITY(sc)" value="(((sc) >> 31) & 0x1)"/>
|
|
<!-- AccCtrl.h: Indicates an access-allowed entry. -->
|
|
<define name="ACTRL_ACCESS_ALLOWED" value="0x00000000"/>
|
|
<!-- AccCtrl.h: Indicates an access-denied entry. -->
|
|
<define name="ACTRL_ACCESS_DENIED" value="0x10000000"/>
|
|
<define name="RPC_C_AUTHN_LEVEL_DEFAULT" value="0"/>
|
|
<define name="RPC_C_AUTHN_LEVEL_NONE" value="1"/>
|
|
<define name="RPC_C_AUTHN_LEVEL_CONNECT" value="2"/>
|
|
<define name="RPC_C_AUTHN_LEVEL_CALL" value="3"/>
|
|
<define name="RPC_C_AUTHN_LEVEL_PKT" value="4"/>
|
|
<define name="RPC_C_AUTHN_LEVEL_PKT_INTEGRITY" value="5"/>
|
|
<define name="RPC_C_AUTHN_LEVEL_PKT_PRIVACY" value="6"/>
|
|
<define name="RPC_C_AUTHN_NONE" value="0"/>
|
|
<define name="RPC_C_AUTHN_DCE_PRIVATE" value="1"/>
|
|
<define name="RPC_C_AUTHN_DCE_PUBLIC" value="2"/>
|
|
<define name="RPC_C_AUTHN_DEC_PUBLIC" value="3"/>
|
|
<define name="RPC_C_AUTHN_GSS_NEGOTIATE" value="4"/>
|
|
<define name="RPC_C_AUTHN_WINNT" value="10"/>
|
|
<define name="RPC_C_AUTHN_GSS_SCHANNEL" value="14"/>
|
|
<define name="RPC_C_AUTHN_GSS_KERBEROS" value="16"/>
|
|
<define name="RPC_C_AUTHN_DPA" value="17"/>
|
|
<define name="RPC_C_AUTHN_MSN" value="18"/>
|
|
<define name="RPC_C_AUTHN_KERNEL" value="20"/>
|
|
<define name="RPC_C_AUTHN_DIGEST" value="21"/>
|
|
<define name="RPC_C_AUTHN_NEGO_EXTENDER" value="30"/>
|
|
<define name="RPC_C_AUTHN_PKU2U" value="31"/>
|
|
<define name="RPC_C_AUTHN_MQ" value="100"/>
|
|
<define name="RPC_C_AUTHN_DEFAULT" value="0xFFFFFFFFL"/>
|
|
<define name="RPC_C_AUTHZ_NONE" value="0"/>
|
|
<define name="RPC_C_AUTHZ_NAME" value="1"/>
|
|
<define name="RPC_C_AUTHZ_DCE" value="2"/>
|
|
<define name="RPC_C_AUTHZ_DEFAULT" value="0xffffffff"/>
|
|
<!-- COM Error codes (Generic) Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/dd542643(v=vs.85).aspx-->
|
|
<define name="E_UNEXPECTED" value="0x8000FFFF"/>
|
|
<define name="E_NOTIMPL" value="0x80004001"/>
|
|
<define name="E_OUTOFMEMORY" value="0x8007000E"/>
|
|
<define name="E_INVALIDARG" value="0x80070057"/>
|
|
<define name="E_NOINTERFACE" value="0x80004002"/>
|
|
<define name="E_POINTER" value="0x80004003"/>
|
|
<define name="E_HANDLE" value="0x80070006"/>
|
|
<define name="E_ABORT" value="0x80004004"/>
|
|
<define name="E_FAIL" value="0x80004005"/>
|
|
<define name="E_ACCESSDENIED" value="0x80070005"/>
|
|
<define name="E_PENDING" value="0x8000000A"/>
|
|
<define name="E_BOUNDS" value="0x8000000B"/>
|
|
<define name="E_CHANGED_STATE" value="0x8000000C"/>
|
|
<define name="E_ILLEGAL_STATE_CHANGE" value="0x8000000D"/>
|
|
<define name="E_ILLEGAL_METHOD_CALL" value="0x8000000E"/>
|
|
<define name="RO_E_METADATA_NAME_NOT_FOUND" value="0x8000000F"/>
|
|
<define name="RO_E_METADATA_NAME_IS_NAMESPACE" value="0x80000010"/>
|
|
<define name="RO_E_METADATA_INVALID_TYPE_FORMAT" value="0x80000011"/>
|
|
<define name="RO_E_INVALID_METADATA_FILE" value="0x80000012"/>
|
|
<define name="RO_E_CLOSED" value="0x80000013"/>
|
|
<define name="RO_E_EXCLUSIVE_WRITE" value="0x80000014"/>
|
|
<define name="RO_E_CHANGE_NOTIFICATION_IN_PROGRESS" value="0x80000015"/>
|
|
<define name="RO_E_ERROR_STRING_NOT_FOUND" value="0x80000016"/>
|
|
<define name="E_STRING_NOT_NULL_TERMINATED" value="0x80000017"/>
|
|
<define name="E_ILLEGAL_DELEGATE_ASSIGNMENT" value="0x80000018"/>
|
|
<define name="E_ASYNC_OPERATION_NOT_STARTED" value="0x80000019"/>
|
|
<define name="E_APPLICATION_EXITING" value="0x8000001A"/>
|
|
<define name="E_APPLICATION_VIEW_EXITING" value="0x8000001B"/>
|
|
<define name="RO_E_MUST_BE_AGILE" value="0x8000001C"/>
|
|
<define name="RO_E_UNSUPPORTED_FROM_MTA" value="0x8000001D"/>
|
|
<define name="RO_E_COMMITTED" value="0x8000001E"/>
|
|
<define name="CO_E_INIT_TLS" value="0x80004006"/>
|
|
<define name="CO_E_INIT_SHARED_ALLOCATOR" value="0x80004007"/>
|
|
<define name="CO_E_INIT_MEMORY_ALLOCATOR" value="0x80004008"/>
|
|
<define name="CO_E_INIT_CLASS_CACHE" value="0x80004009"/>
|
|
<define name="CO_E_INIT_RPC_CHANNEL" value="0x8000400A"/>
|
|
<define name="CO_E_INIT_TLS_SET_CHANNEL_CONTROL" value="0x8000400B"/>
|
|
<define name="CO_E_INIT_TLS_CHANNEL_CONTROL" value="0x8000400C"/>
|
|
<define name="CO_E_INIT_UNACCEPTED_USER_ALLOCATOR" value="0x8000400D"/>
|
|
<define name="CO_E_INIT_SCM_MUTEX_EXISTS" value="0x8000400E"/>
|
|
<define name="CO_E_INIT_SCM_FILE_MAPPING_EXISTS" value="0x8000400F"/>
|
|
<define name="CO_E_INIT_SCM_MAP_VIEW_OF_FILE" value="0x80004010"/>
|
|
<define name="CO_E_INIT_SCM_EXEC_FAILURE" value="0x80004011"/>
|
|
<define name="CO_E_INIT_ONLY_SINGLE_THREADED" value="0x80004012"/>
|
|
<define name="CO_E_CANT_REMOTE" value="0x80004013"/>
|
|
<define name="CO_E_BAD_SERVER_NAME" value="0x80004014"/>
|
|
<define name="CO_E_WRONG_SERVER_IDENTITY" value="0x80004015"/>
|
|
<define name="CO_E_OLE1DDE_DISABLED" value="0x80004016"/>
|
|
<define name="CO_E_RUNAS_SYNTAX" value="0x80004017"/>
|
|
<define name="CO_E_CREATEPROCESS_FAILURE" value="0x80004018"/>
|
|
<define name="CO_E_RUNAS_CREATEPROCESS_FAILURE" value="0x80004019"/>
|
|
<define name="CO_E_RUNAS_LOGON_FAILURE" value="0x8000401A"/>
|
|
<define name="CO_E_LAUNCH_PERMSSION_DENIED" value="0x8000401B"/>
|
|
<define name="CO_E_START_SERVICE_FAILURE" value="0x8000401C"/>
|
|
<define name="CO_E_REMOTE_COMMUNICATION_FAILURE" value="0x8000401D"/>
|
|
<define name="CO_E_SERVER_START_TIMEOUT" value="0x8000401E"/>
|
|
<define name="CO_E_CLSREG_INCONSISTENT" value="0x8000401F"/>
|
|
<define name="CO_E_IIDREG_INCONSISTENT" value="0x80004020"/>
|
|
<define name="CO_E_NOT_SUPPORTED" value="0x80004021"/>
|
|
<define name="CO_E_RELOAD_DLL" value="0x80004022"/>
|
|
<define name="CO_E_MSI_ERROR" value="0x80004023"/>
|
|
<define name="CO_E_ATTEMPT_TO_CREATE_OUTSIDE_CLIENT_CONTEXT" value="0x80004024"/>
|
|
<define name="CO_E_SERVER_PAUSED" value="0x80004025"/>
|
|
<define name="CO_E_SERVER_NOT_PAUSED" value="0x80004026"/>
|
|
<define name="CO_E_CLASS_DISABLED" value="0x80004027"/>
|
|
<define name="CO_E_CLRNOTAVAILABLE" value="0x80004028"/>
|
|
<define name="CO_E_ASYNC_WORK_REJECTED" value="0x80004029"/>
|
|
<define name="CO_E_SERVER_INIT_TIMEOUT" value="0x8000402A"/>
|
|
<define name="CO_E_NO_SECCTX_IN_ACTIVATE" value="0x8000402B"/>
|
|
<define name="CO_E_TRACKER_CONFIG" value="0x80004030"/>
|
|
<define name="CO_E_THREADPOOL_CONFIG" value="0x80004031"/>
|
|
<define name="CO_E_SXS_CONFIG" value="0x80004032"/>
|
|
<define name="CO_E_MALFORMED_SPN" value="0x80004033"/>
|
|
<define name="OLE_E_OLEVERB" value="0x80040000"/>
|
|
<define name="OLE_E_ADVF" value="0x80040001"/>
|
|
<define name="OLE_E_ENUM_NOMORE" value="0x80040002"/>
|
|
<define name="OLE_E_ADVISENOTSUPPORTED" value="0x80040003"/>
|
|
<define name="OLE_E_NOCONNECTION" value="0x80040004"/>
|
|
<define name="OLE_E_NOTRUNNING" value="0x80040005"/>
|
|
<define name="OLE_E_NOCACHE" value="0x80040006"/>
|
|
<define name="OLE_E_BLANK" value="0x80040007"/>
|
|
<define name="OLE_E_CLASSDIFF" value="0x80040008"/>
|
|
<define name="OLE_E_CANT_GETMONIKER" value="0x80040009"/>
|
|
<define name="OLE_E_CANT_BINDTOSOURCE" value="0x8004000A"/>
|
|
<define name="OLE_E_STATIC" value="0x8004000B"/>
|
|
<define name="OLE_E_PROMPTSAVECANCELLED" value="0x8004000C"/>
|
|
<define name="OLE_E_INVALIDRECT" value="0x8004000D"/>
|
|
<define name="OLE_E_WRONGCOMPOBJ" value="0x8004000E"/>
|
|
<define name="OLE_E_INVALIDHWND" value="0x8004000F"/>
|
|
<define name="OLE_E_NOT_INPLACEACTIVE" value="0x80040010"/>
|
|
<define name="OLE_E_CANTCONVERT" value="0x80040011"/>
|
|
<define name="OLE_E_NOSTORAGE" value="0x80040012"/>
|
|
<define name="DV_E_FORMATETC" value="0x80040064"/>
|
|
<define name="DV_E_DVTARGETDEVICE" value="0x80040065"/>
|
|
<define name="DV_E_STGMEDIUM" value="0x80040066"/>
|
|
<define name="DV_E_STATDATA" value="0x80040067"/>
|
|
<define name="DV_E_LINDEX" value="0x80040068"/>
|
|
<define name="DV_E_TYMED" value="0x80040069"/>
|
|
<define name="DV_E_CLIPFORMAT" value="0x8004006A"/>
|
|
<define name="DV_E_DVASPECT" value="0x8004006B"/>
|
|
<define name="DV_E_DVTARGETDEVICE_SIZE" value="0x8004006C"/>
|
|
<define name="DV_E_NOIVIEWOBJECT" value="0x8004006D"/>
|
|
<define name="DRAGDROP_E_NOTREGISTERED" value="0x80040100"/>
|
|
<define name="DRAGDROP_E_ALREADYREGISTERED" value="0x80040101"/>
|
|
<define name="DRAGDROP_E_INVALIDHWND" value="0x80040102"/>
|
|
<define name="CLASS_E_NOAGGREGATION" value="0x80040110"/>
|
|
<define name="CLASS_E_CLASSNOTAVAILABLE" value="0x80040111"/>
|
|
<define name="CLASS_E_NOTLICENSED" value="0x80040112"/>
|
|
<define name="VIEW_E_DRAW" value="0x80040140"/>
|
|
<define name="REGDB_E_READREGDB" value="0x80040150"/>
|
|
<define name="REGDB_E_WRITEREGDB" value="0x80040151"/>
|
|
<define name="REGDB_E_KEYMISSING" value="0x80040152"/>
|
|
<define name="REGDB_E_INVALIDVALUE" value="0x80040153"/>
|
|
<define name="REGDB_E_CLASSNOTREG" value="0x80040154"/>
|
|
<define name="REGDB_E_IIDNOTREG" value="0x80040155"/>
|
|
<define name="REGDB_E_BADTHREADINGMODEL" value="0x80040156"/>
|
|
<define name="CAT_E_CATIDNOEXIST" value="0x80040160"/>
|
|
<define name="CAT_E_NODESCRIPTION" value="0x80040161"/>
|
|
<define name="CS_E_PACKAGE_NOTFOUND" value="0x80040164"/>
|
|
<define name="CS_E_NOT_DELETABLE" value="0x80040165"/>
|
|
<define name="CS_E_CLASS_NOTFOUND" value="0x80040166"/>
|
|
<define name="CS_E_INVALID_VERSION" value="0x80040167"/>
|
|
<define name="CS_E_NO_CLASSSTORE" value="0x80040168"/>
|
|
<define name="CS_E_OBJECT_NOTFOUND" value="0x80040169"/>
|
|
<define name="CS_E_OBJECT_ALREADY_EXISTS" value="0x8004016A"/>
|
|
<define name="CS_E_INVALID_PATH" value="0x8004016B"/>
|
|
<define name="CS_E_NETWORK_ERROR" value="0x8004016C"/>
|
|
<define name="CS_E_ADMIN_LIMIT_EXCEEDED" value="0x8004016D"/>
|
|
<define name="CS_E_SCHEMA_MISMATCH" value="0x8004016E"/>
|
|
<define name="CS_E_INTERNAL_ERROR" value="0x8004016F"/>
|
|
<define name="CACHE_E_NOCACHE_UPDATED" value="0x80040170"/>
|
|
<define name="OLEOBJ_E_NOVERBS" value="0x80040180"/>
|
|
<define name="OLEOBJ_E_INVALIDVERB" value="0x80040181"/>
|
|
<define name="INPLACE_E_NOTUNDOABLE" value="0x800401A0"/>
|
|
<define name="INPLACE_E_NOTOOLSPACE" value="0x800401A1"/>
|
|
<define name="CONVERT10_E_OLESTREAM_GET" value="0x800401C0"/>
|
|
<define name="CONVERT10_E_OLESTREAM_PUT" value="0x800401C1"/>
|
|
<define name="CONVERT10_E_OLESTREAM_FMT" value="0x800401C2"/>
|
|
<define name="CONVERT10_E_OLESTREAM_BITMAP_TO_DIB" value="0x800401C3"/>
|
|
<define name="CONVERT10_E_STG_FMT" value="0x800401C4"/>
|
|
<define name="CONVERT10_E_STG_NO_STD_STREAM" value="0x800401C5"/>
|
|
<define name="CONVERT10_E_STG_DIB_TO_BITMAP" value="0x800401C6"/>
|
|
<define name="CLIPBRD_E_CANT_OPEN" value="0x800401D0"/>
|
|
<define name="CLIPBRD_E_CANT_EMPTY" value="0x800401D1"/>
|
|
<define name="CLIPBRD_E_CANT_SET" value="0x800401D2"/>
|
|
<define name="CLIPBRD_E_BAD_DATA" value="0x800401D3"/>
|
|
<define name="CLIPBRD_E_CANT_CLOSE" value="0x800401D4"/>
|
|
<define name="MK_E_CONNECTMANUALLY" value="0x800401E0"/>
|
|
<define name="MK_E_EXCEEDEDDEADLINE" value="0x800401E1"/>
|
|
<define name="MK_E_NEEDGENERIC" value="0x800401E2"/>
|
|
<define name="MK_E_UNAVAILABLE" value="0x800401E3"/>
|
|
<define name="MK_E_SYNTAX" value="0x800401E4"/>
|
|
<define name="MK_E_NOOBJECT" value="0x800401E5"/>
|
|
<define name="MK_E_INVALIDEXTENSION" value="0x800401E6"/>
|
|
<define name="MK_E_INTERMEDIATEINTERFACENOTSUPPORTED" value="0x800401E7"/>
|
|
<define name="MK_E_NOTBINDABLE" value="0x800401E8"/>
|
|
<define name="MK_E_NOTBOUND" value="0x800401E9"/>
|
|
<define name="MK_E_CANTOPENFILE" value="0x800401EA"/>
|
|
<define name="MK_E_MUSTBOTHERUSER" value="0x800401EB"/>
|
|
<define name="MK_E_NOINVERSE" value="0x800401EC"/>
|
|
<define name="MK_E_NOSTORAGE" value="0x800401ED"/>
|
|
<define name="MK_E_NOPREFIX" value="0x800401EE"/>
|
|
<define name="MK_E_ENUMERATION_FAILED" value="0x800401EF"/>
|
|
<define name="CO_E_NOTINITIALIZED" value="0x800401F0"/>
|
|
<define name="CO_E_ALREADYINITIALIZED" value="0x800401F1"/>
|
|
<define name="CO_E_CANTDETERMINECLASS" value="0x800401F2"/>
|
|
<define name="CO_E_CLASSSTRING" value="0x800401F3"/>
|
|
<define name="CO_E_IIDSTRING" value="0x800401F4"/>
|
|
<define name="CO_E_APPNOTFOUND" value="0x800401F5"/>
|
|
<define name="CO_E_APPSINGLEUSE" value="0x800401F6"/>
|
|
<define name="CO_E_ERRORINAPP" value="0x800401F7"/>
|
|
<define name="CO_E_DLLNOTFOUND" value="0x800401F8"/>
|
|
<define name="CO_E_ERRORINDLL" value="0x800401F9"/>
|
|
<define name="CO_E_WRONGOSFORAPP" value="0x800401FA"/>
|
|
<define name="CO_E_OBJNOTREG" value="0x800401FB"/>
|
|
<define name="CO_E_OBJISREG" value="0x800401FC"/>
|
|
<define name="CO_E_OBJNOTCONNECTED" value="0x800401FD"/>
|
|
<define name="CO_E_APPDIDNTREG" value="0x800401FE"/>
|
|
<define name="CO_E_RELEASED" value="0x800401FF"/>
|
|
<define name="EVENT_S_SOME_SUBSCRIBERS_FAILED" value="0x00040200"/>
|
|
<define name="EVENT_E_ALL_SUBSCRIBERS_FAILED" value="0x80040201"/>
|
|
<define name="EVENT_S_NOSUBSCRIBERS" value="0x00040202"/>
|
|
<define name="EVENT_E_QUERYSYNTAX" value="0x80040203"/>
|
|
<define name="EVENT_E_QUERYFIELD" value="0x80040204"/>
|
|
<define name="EVENT_E_INTERNALEXCEPTION" value="0x80040205"/>
|
|
<define name="EVENT_E_INTERNALERROR" value="0x80040206"/>
|
|
<define name="EVENT_E_INVALID_PER_USER_SID" value="0x80040207"/>
|
|
<define name="EVENT_E_USER_EXCEPTION" value="0x80040208"/>
|
|
<define name="EVENT_E_TOO_MANY_METHODS" value="0x80040209"/>
|
|
<define name="EVENT_E_MISSING_EVENTCLASS" value="0x8004020A"/>
|
|
<define name="EVENT_E_NOT_ALL_REMOVED" value="0x8004020B"/>
|
|
<define name="EVENT_E_COMPLUS_NOT_INSTALLED" value="0x8004020C"/>
|
|
<define name="EVENT_E_CANT_MODIFY_OR_DELETE_UNCONFIGURED_OBJECT" value="0x8004020D"/>
|
|
<define name="EVENT_E_CANT_MODIFY_OR_DELETE_CONFIGURED_OBJECT" value="0x8004020E"/>
|
|
<define name="EVENT_E_INVALID_EVENT_CLASS_PARTITION" value="0x8004020F"/>
|
|
<define name="EVENT_E_PER_USER_SID_NOT_LOGGED_ON" value="0x80040210"/>
|
|
<!--WTypes.h: CLSCTX enumeration -->
|
|
<define name="CLSCTX_INPROC_SERVER" value="0x1"/>
|
|
<define name="CLSCTX_INPROC_HANDLER" value="0x2"/>
|
|
<define name="CLSCTX_LOCAL_SERVER" value="0x4"/>
|
|
<define name="CLSCTX_INPROC_SERVER16" value="0x8"/>
|
|
<define name="CLSCTX_REMOTE_SERVER" value="0x10"/>
|
|
<define name="CLSCTX_INPROC_HANDLER16" value="0x20"/>
|
|
<define name="CLSCTX_RESERVED1" value="0x40"/>
|
|
<define name="CLSCTX_RESERVED2" value="0x80"/>
|
|
<define name="CLSCTX_RESERVED3" value="0x100"/>
|
|
<define name="CLSCTX_RESERVED4" value="0x200"/>
|
|
<define name="CLSCTX_NO_CODE_DOWNLOAD" value="0x400"/>
|
|
<define name="CLSCTX_RESERVED5" value="0x800"/>
|
|
<define name="CLSCTX_NO_CUSTOM_MARSHAL" value="0x1000"/>
|
|
<define name="CLSCTX_ENABLE_CODE_DOWNLOAD" value="0x2000"/>
|
|
<define name="CLSCTX_NO_FAILURE_LOG" value="0x4000"/>
|
|
<define name="CLSCTX_DISABLE_AAA" value="0x8000"/>
|
|
<define name="CLSCTX_ENABLE_AAA" value="0x10000"/>
|
|
<define name="CLSCTX_FROM_DEFAULT_CONTEXT" value="0x20000"/>
|
|
<define name="CLSCTX_ACTIVATE_32_BIT_SERVER" value="0x40000"/>
|
|
<define name="CLSCTX_ACTIVATE_64_BIT_SERVER" value="0x80000"/>
|
|
<define name="CLSCTX_ENABLE_CLOAKING" value="0x100000"/>
|
|
<define name="CLSCTX_APPCONTAINER" value="0x400000"/>
|
|
<define name="CLSCTX_ACTIVATE_AAA_AS_IU" value="0x800000"/>
|
|
<define name="CLSCTX_PS_DLL" value="0x80000000"/>
|
|
</def>
|