LibreOffice Module embedserv (master) 1
Namespaces | Functions | Variables
dllentry.cxx File Reference
#include <sal/types.h>
#include <stdio.h>
#include "inprocembobj.h"
#include <embservconst.h>
#include <olectl.h>
Include dependency graph for dllentry.cxx:

Go to the source code of this file.

Namespaces

namespace  inprocserv
 

Functions

BOOL WINAPI DllMain (HINSTANCE hInstance, DWORD dwReason, LPVOID)
 
STDAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv)
 
STDAPI DllCanUnloadNow ()
 
STDAPI DllRegisterServer ()
 
STDAPI DllUnregisterServer ()
 
 inprocserv::STDMETHODIMP_ (ULONG) OleWrapperAdviseSink
 

Variables

static const GUID * guidList [SUPPORTED_FACTORIES_NUM]
 
static HINSTANCE g_hInstance = nullptr
 
static ULONG g_nObj = 0
 
static ULONG g_nLock = 0
 

Function Documentation

◆ DllCanUnloadNow()

STDAPI DllCanUnloadNow ( void  )

Definition at line 195 of file dllentry.cxx.

References g_nLock, and g_nObj.

◆ DllGetClassObject()

STDAPI DllGetClassObject ( REFCLSID  rclsid,
REFIID  riid,
LPVOID *  ppv 
)

Definition at line 178 of file dllentry.cxx.

References guidList, and SUPPORTED_FACTORIES_NUM.

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hInstance,
DWORD  dwReason,
LPVOID   
)

Definition at line 167 of file dllentry.cxx.

References g_hInstance, and TRUE.

◆ DllRegisterServer()

STDAPI DllRegisterServer ( void  )

Definition at line 204 of file dllentry.cxx.

References DllRegisterServer().

Referenced by DllRegisterServer().

◆ DllUnregisterServer()

STDAPI DllUnregisterServer ( void  )

Definition at line 225 of file dllentry.cxx.

Variable Documentation

◆ g_hInstance

HINSTANCE g_hInstance = nullptr
static

Definition at line 41 of file dllentry.cxx.

Referenced by DllMain().

◆ g_nLock

ULONG g_nLock = 0
static

Definition at line 43 of file dllentry.cxx.

Referenced by DllCanUnloadNow().

◆ g_nObj

ULONG g_nObj = 0
static

◆ guidList

const GUID* guidList[SUPPORTED_FACTORIES_NUM]
static
Initial value:
= {
}
const GUID DECLSPEC_SELECTANY OID_PresentationServer
Definition: embservconst.h:39
const GUID DECLSPEC_SELECTANY OID_MathServer
Definition: embservconst.h:43
const GUID DECLSPEC_SELECTANY OID_DrawingServer
Definition: embservconst.h:35
const GUID DECLSPEC_SELECTANY OID_CalcServer
Definition: embservconst.h:32
const GUID DECLSPEC_SELECTANY OID_MathOASISServer
Definition: embservconst.h:44
const GUID DECLSPEC_SELECTANY OID_WriterTextServer
Definition: embservconst.h:29
const GUID DECLSPEC_SELECTANY OID_WriterOASISTextServer
Definition: embservconst.h:30
const GUID DECLSPEC_SELECTANY OID_CalcOASISServer
Definition: embservconst.h:33
const GUID DECLSPEC_SELECTANY OID_DrawingOASISServer
Definition: embservconst.h:36
const GUID DECLSPEC_SELECTANY OID_PresentationOASISServer
Definition: embservconst.h:41

Definition at line 28 of file dllentry.cxx.

Referenced by DllGetClassObject().

◆ m_guid

GUID m_guid
protected

Definition at line 156 of file dllentry.cxx.

◆ m_refCount

ULONG m_refCount
protected

Definition at line 155 of file dllentry.cxx.