You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
840 B
58 lines
840 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1996 - 1999
|
|
//
|
|
// File: mem.c
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
/*++
|
|
|
|
Module Name:
|
|
|
|
mem.c
|
|
|
|
Abstract:
|
|
|
|
Implements midl_user_allocate and midl_user_free.
|
|
|
|
Author:
|
|
|
|
Jeff Roberts (jroberts) 15-May-1996
|
|
|
|
Revision History:
|
|
|
|
15-May-1996 jroberts
|
|
|
|
Created this module.
|
|
|
|
--*/
|
|
|
|
#include <rpc.h>
|
|
|
|
|
|
void __RPC_FAR * __RPC_API
|
|
MIDL_user_allocate(
|
|
unsigned cb
|
|
)
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
Call the C memory allocation for MIDL.
|
|
|
|
--*/
|
|
{
|
|
return I_RpcAllocate(cb);
|
|
}
|
|
|
|
void __RPC_API
|
|
MIDL_user_free(
|
|
void __RPC_FAR * p
|
|
)
|
|
{
|
|
I_RpcFree(p);
|
|
}
|
|
|