ReactOS  0.4.15-dev-509-g96a357b
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 
40  case DLL_PROCESS_ATTACH:
42  break;
43  }
44  return TRUE;
45 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
r reserved
Definition: btrfs.c:2940
#define TRACE(s)
Definition: solgame.cpp:4
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
Definition: object.c:1904
static HINSTANCE hinst
Definition: edit.c:551

◆ 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
smooth NULL
Definition: ftsmooth.c:416
#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 }
static rfbScreenInfoPtr server
Definition: vnc.c:74
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( mprapi  )