include: Mark up with alloc_size attribute.
This commit is contained in:
parent
39978c68f9
commit
68f63689cb
|
@ -189,7 +189,7 @@ typedef struct _MIDL_STUB_MESSAGE
|
|||
ULONG_PTR MaxCount;
|
||||
ULONG Offset;
|
||||
ULONG ActualCount;
|
||||
void * (__RPC_API *pfnAllocate)(size_t);
|
||||
void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(size_t);
|
||||
void (__RPC_API *pfnFree)(void *);
|
||||
unsigned char *StackTop;
|
||||
unsigned char *pPresentedType;
|
||||
|
@ -316,7 +316,7 @@ typedef struct _USER_MARSHAL_CB
|
|||
|
||||
typedef struct _MALLOC_FREE_STRUCT
|
||||
{
|
||||
void * (__RPC_USER *pfnAllocate)(size_t);
|
||||
void * (__WINE_ALLOC_SIZE(1) __RPC_USER *pfnAllocate)(size_t);
|
||||
void (__RPC_USER *pfnFree)(void *);
|
||||
} MALLOC_FREE_STRUCT;
|
||||
|
||||
|
@ -329,7 +329,7 @@ typedef struct _COMM_FAULT_OFFSETS
|
|||
typedef struct _MIDL_STUB_DESC
|
||||
{
|
||||
void *RpcInterfaceInformation;
|
||||
void * (__RPC_API *pfnAllocate)(size_t);
|
||||
void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(size_t);
|
||||
void (__RPC_API *pfnFree)(void *);
|
||||
union {
|
||||
handle_t *pAutoHandle;
|
||||
|
@ -468,7 +468,7 @@ typedef struct _NDR_USER_MARSHAL_INFO_LEVEL1
|
|||
{
|
||||
void *Buffer;
|
||||
ULONG BufferSize;
|
||||
void * (__RPC_API *pfnAllocate)(size_t);
|
||||
void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(size_t);
|
||||
void (__RPC_API *pfnFree)(void *);
|
||||
struct IRpcChannelBuffer *pRpcChannelBuffer;
|
||||
ULONG_PTR Reserved[5];
|
||||
|
@ -662,7 +662,7 @@ RPCRTAPI RPC_STATUS RPC_ENTRY
|
|||
ULONG *pFaultStatus, RPC_STATUS Status_ );
|
||||
|
||||
RPCRTAPI void* RPC_ENTRY
|
||||
NdrOleAllocate( size_t Size );
|
||||
NdrOleAllocate( size_t Size ) __WINE_ALLOC_SIZE(1);
|
||||
RPCRTAPI void RPC_ENTRY
|
||||
NdrOleFree( void* NodeToFree );
|
||||
|
||||
|
@ -723,11 +723,11 @@ RPCRTAPI void RPC_ENTRY
|
|||
RPCRTAPI void RPC_ENTRY
|
||||
NdrRpcSmSetClientToOsf( PMIDL_STUB_MESSAGE pMessage );
|
||||
RPCRTAPI void * RPC_ENTRY
|
||||
NdrRpcSmClientAllocate( size_t Size );
|
||||
NdrRpcSmClientAllocate( size_t Size ) __WINE_ALLOC_SIZE(1);
|
||||
RPCRTAPI void RPC_ENTRY
|
||||
NdrRpcSmClientFree( void *NodeToFree );
|
||||
RPCRTAPI void * RPC_ENTRY
|
||||
NdrRpcSsDefaultAllocate( size_t Size );
|
||||
NdrRpcSsDefaultAllocate( size_t Size ) __WINE_ALLOC_SIZE(1);
|
||||
RPCRTAPI void RPC_ENTRY
|
||||
NdrRpcSsDefaultFree( void *NodeToFree );
|
||||
|
||||
|
|
|
@ -1082,7 +1082,7 @@ typedef BOOL (WINAPI *PFN_CERT_ENUM_PHYSICAL_STORE)(const void *pvSystemStore,
|
|||
void *pvReserved, void *pvArg);
|
||||
|
||||
/* Encode/decode object */
|
||||
typedef LPVOID (WINAPI *PFN_CRYPT_ALLOC)(size_t cbsize);
|
||||
typedef LPVOID (__WINE_ALLOC_SIZE(1) WINAPI *PFN_CRYPT_ALLOC)(size_t cbsize);
|
||||
typedef VOID (WINAPI *PFN_CRYPT_FREE)(LPVOID pv);
|
||||
|
||||
typedef struct _CRYPT_ENCODE_PARA {
|
||||
|
|
Loading…
Reference in New Issue