include: Allocation size markup.
This commit is contained in:
parent
a24550aa82
commit
de530b55af
|
@ -18,8 +18,8 @@
|
||||||
#ifndef __WINTRUST_PRIV_H__
|
#ifndef __WINTRUST_PRIV_H__
|
||||||
#define __WINTRUST_PRIV_H__
|
#define __WINTRUST_PRIV_H__
|
||||||
|
|
||||||
void * WINAPI WINTRUST_Alloc(DWORD cb);
|
void * WINAPI WINTRUST_Alloc(DWORD cb) __WINE_ALLOC_SIZE(1);
|
||||||
void * WINAPI WINTRUST_ReAlloc(void *ptr, DWORD cb);
|
void * WINAPI WINTRUST_ReAlloc(void *ptr, DWORD cb) __WINE_ALLOC_SIZE(2);
|
||||||
void WINAPI WINTRUST_Free(void *p);
|
void WINAPI WINTRUST_Free(void *p);
|
||||||
BOOL WINAPI WINTRUST_AddStore(CRYPT_PROVIDER_DATA *data, HCERTSTORE store);
|
BOOL WINAPI WINTRUST_AddStore(CRYPT_PROVIDER_DATA *data, HCERTSTORE store);
|
||||||
BOOL WINAPI WINTRUST_AddSgnr(CRYPT_PROVIDER_DATA *data,
|
BOOL WINAPI WINTRUST_AddSgnr(CRYPT_PROVIDER_DATA *data,
|
||||||
|
|
|
@ -163,7 +163,7 @@ typedef struct {
|
||||||
|
|
||||||
/**********************************************************************/
|
/**********************************************************************/
|
||||||
|
|
||||||
typedef void * (__cdecl *PFNFCIALLOC)(ULONG cb);
|
typedef void * (__cdecl __WINE_ALLOC_SIZE(1) *PFNFCIALLOC)(ULONG cb);
|
||||||
#define FNFCIALLOC(fn) void * __cdecl fn(ULONG cb)
|
#define FNFCIALLOC(fn) void * __cdecl fn(ULONG cb)
|
||||||
|
|
||||||
typedef void (__cdecl *PFNFCIFREE)(void *memory);
|
typedef void (__cdecl *PFNFCIFREE)(void *memory);
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void* WINGDIPAPI GdipAlloc(SIZE_T);
|
void* WINGDIPAPI GdipAlloc(SIZE_T) __WINE_ALLOC_SIZE(1);
|
||||||
void WINGDIPAPI GdipFree(void*);
|
void WINGDIPAPI GdipFree(void*);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -275,8 +275,8 @@ INT WINAPI SnmpUtilVarBindListCpy(SnmpVarBindList *pVblDst,
|
||||||
SnmpVarBindList *pVblSrc);
|
SnmpVarBindList *pVblSrc);
|
||||||
VOID WINAPI SnmpUtilVarBindListFree(SnmpVarBindList *pVbl);
|
VOID WINAPI SnmpUtilVarBindListFree(SnmpVarBindList *pVbl);
|
||||||
|
|
||||||
LPVOID WINAPI SnmpUtilMemAlloc(UINT nBytes);
|
LPVOID WINAPI SnmpUtilMemAlloc(UINT nBytes) __WINE_ALLOC_SIZE(1);
|
||||||
LPVOID WINAPI SnmpUtilMemReAlloc(LPVOID pMem, UINT nBytes);
|
LPVOID WINAPI SnmpUtilMemReAlloc(LPVOID pMem, UINT nBytes) __WINE_ALLOC_SIZE(2);
|
||||||
VOID WINAPI SnmpUtilMemFree(LPVOID pMem);
|
VOID WINAPI SnmpUtilMemFree(LPVOID pMem);
|
||||||
|
|
||||||
LPSTR WINAPI SnmpUtilOidToA(AsnObjectIdentifier *Oid);
|
LPSTR WINAPI SnmpUtilOidToA(AsnObjectIdentifier *Oid);
|
||||||
|
|
|
@ -260,7 +260,7 @@ struct _CRYPT_PROVIDER_DATA;
|
||||||
|
|
||||||
#define TRUSTERROR_MAX_STEPS 38
|
#define TRUSTERROR_MAX_STEPS 38
|
||||||
|
|
||||||
typedef void * (WINAPI *PFN_CPD_MEM_ALLOC)(DWORD cbSize);
|
typedef void * (__WINE_ALLOC_SIZE(1) WINAPI *PFN_CPD_MEM_ALLOC)(DWORD cbSize);
|
||||||
typedef void (WINAPI *PFN_CPD_MEM_FREE)(void *pvMem2Free);
|
typedef void (WINAPI *PFN_CPD_MEM_FREE)(void *pvMem2Free);
|
||||||
typedef BOOL (WINAPI *PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData,
|
typedef BOOL (WINAPI *PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData,
|
||||||
HCERTSTORE hStore2Add);
|
HCERTSTORE hStore2Add);
|
||||||
|
|
Loading…
Reference in New Issue