ReactOS 0.4.15-dev-7931-gfd331f1
qmgr_main.c File Reference
#include <stdio.h>
#include "objbase.h"
#include "winuser.h"
#include "winreg.h"
#include "advpub.h"
#include "olectl.h"
#include "rpcproxy.h"
#include "winsvc.h"
#include "qmgr.h"
#include "wine/debug.h"
Include dependency graph for qmgr_main.c:

Go to the source code of this file.

Macros

#define COBJMACROS
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (qmgr)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 
HRESULT WINAPI DllRegisterServer (void)
 
HRESULT WINAPI DllUnregisterServer (void)
 

Variables

static HINSTANCE hInst
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 26 of file qmgr_main.c.

Function Documentation

◆ DllMain()

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

Definition at line 44 of file qmgr_main.c.

45{
46 TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
47
48 switch (fdwReason)
49 {
50 case DLL_WINE_PREATTACH:
51 return FALSE; /* prefer native version */
54 hInst = hinstDLL;
55 break;
56 }
57
58 return TRUE;
59}
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
static IN DWORD IN LPVOID lpvReserved
static HINSTANCE hInst
Definition: qmgr_main.c:41
#define TRACE(s)
Definition: solgame.cpp:4

◆ DllRegisterServer()

HRESULT WINAPI DllRegisterServer ( void  )

Definition at line 61 of file qmgr_main.c.

62{
64}
HRESULT __wine_register_resources(HMODULE module) DECLSPEC_HIDDEN
Definition: register.c:98

◆ DllUnregisterServer()

HRESULT WINAPI DllUnregisterServer ( void  )

Definition at line 66 of file qmgr_main.c.

67{
69}
HRESULT __wine_unregister_resources(HMODULE module) DECLSPEC_HIDDEN
Definition: register.c:110

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( qmgr  )

Variable Documentation

◆ hInst

HINSTANCE hInst
static

Definition at line 41 of file qmgr_main.c.

Referenced by DllMain(), DllRegisterServer(), and DllUnregisterServer().