sbWindowsFormatterServer.cpp File Reference

Songbird Windows Formatter Component COM Server Source. More...

#include "sbWindowsFormatterServer.h"
#include "sbWindowsFormatter.h"
#include "sbWindowsFormatterClassFactory.h"
#include <sbWindowsUtils.h>
Include dependency graph for sbWindowsFormatterServer.cpp:

Go to the source code of this file.

Functions

BOOL APIENTRY DllMain (HINSTANCE aModule, DWORD aReasonForCall, LPVOID aReserved)
 
STDAPI DllCanUnloadNow ()
 
STDAPI DllGetClassObject (REFCLSID aCLSID, REFIID aIID, void **aClassObject)
 
STDAPI DllRegisterServer ()
 
STDAPI DllUnregisterServer ()
 
void COMServerLock ()
 
void COMServerUnlock ()
 

Variables

UINT gCOMServerLockCount = 0
 
HINSTANCE gDLLModule = NULL
 

Detailed Description

Songbird Windows Formatter Component COM Server Source.

Definition in file sbWindowsFormatterServer.cpp.

Function Documentation

void COMServerLock ( )

Add a lock on the COM server.

Definition at line 490 of file sbWindowsFormatterServer.cpp.

Here is the caller graph for this function:

void COMServerUnlock ( )

Remove a lock on the COM server.

Definition at line 501 of file sbWindowsFormatterServer.cpp.

Here is the caller graph for this function:

STDAPI DllCanUnloadNow ( )

Determine whether the DLL can be unloaded.

Returns
S_OK DLL can be unloaded. S_FALSE DLL cannot be unloaded.

Definition at line 117 of file sbWindowsFormatterServer.cpp.

STDAPI DllGetClassObject ( REFCLSID  aCLSID,
REFIID  aIID,
void **  aClassObject 
)

Return in aClassObject the class object for the class specified by aCLSID with the interface specified by aIID.

Parameters
aCLSIDID of requested class object.
aIIDID of interface to use with class object.
aClassObjectReturned class object.

Definition at line 136 of file sbWindowsFormatterServer.cpp.

Here is the call graph for this function:

BOOL APIENTRY DllMain ( HINSTANCE  aModule,
DWORD  aReasonForCall,
LPVOID  aReserved 
)

Handle the DLL main entry point callback for the DLL specified by aModule. The reason for invoking the callback is specified by aReasonForCall.

Parameters
aModuleA handle to the DLL module.
aReasonForCallThe reason code that indicates why the DLL entry-point function is being called.
Returns
True on success; false otherwise.

Definition at line 88 of file sbWindowsFormatterServer.cpp.

STDAPI DllRegisterServer ( )

Register the COM server.

Definition at line 175 of file sbWindowsFormatterServer.cpp.

STDAPI DllUnregisterServer ( )

Unregister the COM server.

Definition at line 443 of file sbWindowsFormatterServer.cpp.

Variable Documentation

UINT gCOMServerLockCount = 0

Definition at line 66 of file sbWindowsFormatterServer.cpp.

HINSTANCE gDLLModule = NULL

Definition at line 67 of file sbWindowsFormatterServer.cpp.