ReactOS
0.4.16-dev-319-g6cf4263
rpc.c
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING in the top level directory
3
* PROJECT: ReactOS system libraries
4
* FILE: lib/advapi32/service/rpc.c
5
* PURPOSE: RPC support routines
6
* PROGRAMMER: Eric Kohl
7
*/
8
9
/* INCLUDES ******************************************************************/
10
11
#include <
advapi32.h
>
12
13
14
void
__RPC_FAR
*
__RPC_USER
15
midl_user_allocate
(
SIZE_T
len
)
16
{
17
return
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
len
);
18
}
19
20
21
void
__RPC_USER
22
midl_user_free
(
void
__RPC_FAR
*
ptr
)
23
{
24
HeapFree
(
GetProcessHeap
(), 0,
ptr
);
25
}
26
27
/* EOF */
advapi32.h
GetProcessHeap
#define GetProcessHeap()
Definition:
compat.h:736
HeapAlloc
#define HeapAlloc
Definition:
compat.h:733
HeapFree
#define HeapFree(x, y, z)
Definition:
compat.h:735
HEAP_ZERO_MEMORY
#define HEAP_ZERO_MEMORY
Definition:
compat.h:134
len
GLenum GLsizei len
Definition:
glext.h:6722
ptr
static PVOID ptr
Definition:
dispmode.c:27
midl_user_free
#define midl_user_free
Definition:
rpc.h:45
__RPC_FAR
#define __RPC_FAR
Definition:
rpc.h:56
__RPC_USER
#define __RPC_USER
Definition:
rpc.h:65
midl_user_allocate
#define midl_user_allocate
Definition:
rpc.h:44
SIZE_T
ULONG_PTR SIZE_T
Definition:
typedefs.h:80
dll
win32
advapi32
service
rpc.c
Generated on Wed Dec 4 2024 06:10:40 for ReactOS by
1.9.6