Added assembly wrapper for calling window procedures.
[wine.git] / dlls / mpr / mpr_main.c
blob17163a070876e4cf7a6723050d3532f9d4643d5d
1 /*
2 * MPR undocumented functions
3 */
5 #include "winbase.h"
6 #include "winnetwk.h"
7 #include "heap.h"
8 #include "debugtools.h"
10 DEFAULT_DEBUG_CHANNEL(mpr)
12 /*
13 * FIXME: The following routines should use a private heap ...
16 /*****************************************************************
17 * MPR_Alloc [MPR.22]
19 LPVOID WINAPI MPR_Alloc( DWORD dwSize )
21 return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, dwSize );
24 /*****************************************************************
25 * MPR_ReAlloc [MPR.23]
27 LPVOID WINAPI MPR_ReAlloc( LPVOID lpSrc, DWORD dwSize )
29 if ( lpSrc )
30 return HeapReAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, lpSrc, dwSize );
31 else
32 return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, dwSize );
35 /*****************************************************************
36 * MPR_Free [MPR.24]
38 BOOL WINAPI MPR_Free( LPVOID lpMem )
40 if ( lpMem )
41 return HeapFree( GetProcessHeap(), 0, lpMem );
42 else
43 return FALSE;
46 /*****************************************************************
47 * _MPR_25 [MPR.25]
49 BOOL WINAPI _MPR_25( LPBYTE lpMem, INT len )
51 FIXME( "(%p, %d): stub\n", lpMem, len );
53 return FALSE;