mirror of https://github.com/tongzx/nt5src
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.
31 lines
411 B
31 lines
411 B
/*++
|
|
|
|
Copyright (c) 1996 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
rpc.c
|
|
|
|
Abstract:
|
|
|
|
Handy utility functions for supporting RPC
|
|
|
|
Author:
|
|
|
|
Sunita Shrivastava (sunitas) 22-Jan-1997
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
#include "rpc.h"
|
|
|
|
void __RPC_FAR * __RPC_API MIDL_user_allocate(size_t len)
|
|
{
|
|
return(LocalAlloc(LMEM_FIXED, len));
|
|
}
|
|
|
|
void __RPC_API MIDL_user_free(void __RPC_FAR * ptr)
|
|
{
|
|
LocalFree(ptr);
|
|
}
|
|
|