ReactOS 0.4.15-dev-8219-ge8b88cf
mpr_main.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "winnetwk.h"
#include "wine/debug.h"
#include "wnetpriv.h"
Include dependency graph for mpr_main.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (mpr)
 
LPVOID WINAPI MPR_Alloc (DWORD dwSize)
 
LPVOID WINAPI MPR_ReAlloc (LPVOID lpSrc, DWORD dwSize)
 
BOOL WINAPI MPR_Free (LPVOID lpMem)
 
BOOL WINAPI _MPR_25 (LPBYTE lpMem, INT len)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 

Function Documentation

◆ _MPR_25()

BOOL WINAPI _MPR_25 ( LPBYTE  lpMem,
INT  len 
)

Definition at line 69 of file mpr_main.c.

70{
71 FIXME( "(%p, %d): stub\n", lpMem, len );
72
73 return FALSE;
74}
#define FIXME(fmt,...)
Definition: debug.h:114
#define FALSE
Definition: types.h:117
GLenum GLsizei len
Definition: glext.h:6722

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDLL,
DWORD  fdwReason,
LPVOID  lpvReserved 
)

Definition at line 79 of file mpr_main.c.

80{
81 switch (fdwReason) {
83 DisableThreadLibraryCalls( hinstDLL );
84 wnetInit(hinstDLL);
85 break;
86
88 if (lpvReserved) break;
89 wnetFree();
90 break;
91 }
92 return TRUE;
93}
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
static IN DWORD IN LPVOID lpvReserved
void wnetFree(void)
Definition: wnet.c:492
void wnetInit(HINSTANCE hInstDll)
Definition: wnet.c:354

◆ MPR_Alloc()

LPVOID WINAPI MPR_Alloc ( DWORD  dwSize)

Definition at line 39 of file mpr_main.c.

40{
42}
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56

◆ MPR_Free()

BOOL WINAPI MPR_Free ( LPVOID  lpMem)

Definition at line 58 of file mpr_main.c.

59{
60 if ( lpMem )
61 return HeapFree( GetProcessHeap(), 0, lpMem );
62 else
63 return FALSE;
64}
#define HeapFree(x, y, z)
Definition: compat.h:735

◆ MPR_ReAlloc()

LPVOID WINAPI MPR_ReAlloc ( LPVOID  lpSrc,
DWORD  dwSize 
)

Definition at line 47 of file mpr_main.c.

48{
49 if ( lpSrc )
51 else
53}
#define HeapReAlloc
Definition: compat.h:734

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( mpr  )