ReactOS 0.4.15-dev-7711-g5627da4
mprapi.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "mprapi.h"
#include "wine/debug.h"
Include dependency graph for mprapi.c:

Go to the source code of this file.

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (mprapi)
 
BOOL WINAPI DllMain (HINSTANCE hinst, DWORD reason, LPVOID reserved)
 
DWORD APIENTRY MprAdminGetErrorString (DWORD mprerror, LPWSTR *localstr)
 
BOOL APIENTRY MprAdminIsServiceRunning (LPWSTR server)
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinst,
DWORD  reason,
LPVOID  reserved 
)

Definition at line 31 of file mprapi.c.

32{
33 TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
34
35 switch(reason)
36 {
37 case DLL_WINE_PREATTACH:
38 return FALSE; /* prefer native version */
39
42 break;
43 }
44 return TRUE;
45}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
r reserved
Definition: btrfs.c:3006
static HINSTANCE hinst
Definition: edit.c:551
#define TRACE(s)
Definition: solgame.cpp:4

◆ MprAdminGetErrorString()

DWORD APIENTRY MprAdminGetErrorString ( DWORD  mprerror,
LPWSTR localstr 
)

Definition at line 65 of file mprapi.c.

66{
67 FIXME("(0x%x/%u, %p): stub!\n", mprerror, mprerror, localstr);
68
69 *localstr = NULL;
71}
#define FIXME(fmt,...)
Definition: debug.h:111
#define NULL
Definition: types.h:112
#define ERROR_MR_MID_NOT_FOUND
Definition: winerror.h:321

◆ MprAdminIsServiceRunning()

BOOL APIENTRY MprAdminIsServiceRunning ( LPWSTR  server)

Definition at line 76 of file mprapi.c.

77{
78 FIXME("(%s): stub!\n", debugstr_w(server));
79
80 return FALSE;
81}
#define debugstr_w
Definition: kernel32.h:32
static rfbScreenInfoPtr server
Definition: vnc.c:74

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( mprapi  )