ReactOS 0.4.15-dev-7934-g1dc8d80
dll_register.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "olectl.h"
#include "rpcproxy.h"
Include dependency graph for dll_register.c:

Go to the source code of this file.

Macros

#define COBJMACROS
 

Functions

static voidimage_base (void)
 
HRESULT WINAPI DllRegisterServer (void)
 
HRESULT WINAPI DllUnregisterServer (void)
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 22 of file dll_register.c.

Function Documentation

◆ DllRegisterServer()

HRESULT WINAPI DllRegisterServer ( void  )

Definition at line 39 of file dll_register.c.

40{
42}
static void * image_base(void)
Definition: dll_register.c:28
HRESULT __wine_register_resources(HMODULE module) DECLSPEC_HIDDEN
Definition: register.c:98

◆ DllUnregisterServer()

HRESULT WINAPI DllUnregisterServer ( void  )

Definition at line 44 of file dll_register.c.

45{
47}
HRESULT __wine_unregister_resources(HMODULE module) DECLSPEC_HIDDEN
Definition: register.c:110

◆ image_base()

static void * image_base ( void  )
inlinestatic

Definition at line 28 of file dll_register.c.

29{
30#if defined(__MINGW32__) || defined(_MSC_VER)
32 return (void *)&__ImageBase;
33#else
34 extern IMAGE_NT_HEADERS __wine_spec_nt_header;
35 return (void *)((__wine_spec_nt_header.OptionalHeader.ImageBase + 0xffff) & ~0xffff);
36#endif
37}
#define __ImageBase
Definition: crt_handler.c:22
IMAGE_OPTIONAL_HEADER32 OptionalHeader
Definition: ntddk_ex.h:184

Referenced by DllRegisterServer(), and DllUnregisterServer().