xref: /reactos/dll/win32/advapi32/service/rpc.c (revision c2c66aff)
1*c2c66affSColin Finck /*
2*c2c66affSColin Finck  * COPYRIGHT:       See COPYING in the top level directory
3*c2c66affSColin Finck  * PROJECT:         ReactOS system libraries
4*c2c66affSColin Finck  * FILE:            lib/advapi32/service/rpc.c
5*c2c66affSColin Finck  * PURPOSE:         RPC support routines
6*c2c66affSColin Finck  * PROGRAMMER:      Eric Kohl
7*c2c66affSColin Finck  */
8*c2c66affSColin Finck 
9*c2c66affSColin Finck /* INCLUDES ******************************************************************/
10*c2c66affSColin Finck 
11*c2c66affSColin Finck #include <advapi32.h>
12*c2c66affSColin Finck 
13*c2c66affSColin Finck 
14*c2c66affSColin Finck void __RPC_FAR * __RPC_USER
midl_user_allocate(SIZE_T len)15*c2c66affSColin Finck midl_user_allocate(SIZE_T len)
16*c2c66affSColin Finck {
17*c2c66affSColin Finck     return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len);
18*c2c66affSColin Finck }
19*c2c66affSColin Finck 
20*c2c66affSColin Finck 
21*c2c66affSColin Finck void __RPC_USER
midl_user_free(void __RPC_FAR * ptr)22*c2c66affSColin Finck midl_user_free(void __RPC_FAR * ptr)
23*c2c66affSColin Finck {
24*c2c66affSColin Finck     HeapFree(GetProcessHeap(), 0, ptr);
25*c2c66affSColin Finck }
26*c2c66affSColin Finck 
27*c2c66affSColin Finck /* EOF */
28