LibreOffice Module shell (master) 1
Functions
spsuppServ.cxx File Reference
#include <spsupp_i.c>
#include <memory>
#include <olectl.h>
#include <wchar.h>
#include <spsuppServ.hpp>
#include <spsuppClassFactory.hpp>
#include <COMOpenDocuments.hpp>
#include <registrar.hpp>
#include <shlwapi.h>
Include dependency graph for spsuppServ.cxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ITypeLib * GetTypeLib ()
 
const wchar_t * GetHelperExe ()
 
BOOL APIENTRY DllMain (HANDLE hinstDLL, DWORD fdwReason, LPVOID)
 
STDAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppvOut)
 
STDAPI DllCanUnloadNow (void)
 
STDAPI DllRegisterServer (void)
 
STDAPI DllUnregisterServer (void)
 
STDAPI DllInstall (BOOL bInstall, _In_opt_ PCWSTR pszCmdLine)
 

Function Documentation

◆ DllCanUnloadNow()

STDAPI DllCanUnloadNow ( void  )

◆ DllGetClassObject()

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

◆ DllInstall()

STDAPI DllInstall ( BOOL  bInstall,
_In_opt_ PCWSTR  pszCmdLine 
)

Definition at line 160 of file spsuppServ.cxx.

References hr, Registrar::RegisterProgIDs(), and Registrar::UnRegisterProgIDs().

◆ DllMain()

BOOL APIENTRY DllMain ( HANDLE  hinstDLL,
DWORD  fdwReason,
LPVOID   
)

Definition at line 70 of file spsuppServ.cxx.

References g_hModule, and TRUE.

◆ DllRegisterServer()

STDAPI DllRegisterServer ( void  )

Definition at line 117 of file spsuppServ.cxx.

References GetTypeLib(), hr, MAX_PATH, and Registrar::RegisterObject().

◆ DllUnregisterServer()

STDAPI DllUnregisterServer ( void  )

Definition at line 136 of file spsuppServ.cxx.

References GetTypeLib(), hr, p, and Registrar::UnRegisterObject().

◆ GetHelperExe()

const wchar_t * GetHelperExe ( )

Definition at line 55 of file spsuppServ.cxx.

References MAX_PATH.

◆ GetTypeLib()

ITypeLib * GetTypeLib ( )

Definition at line 38 of file spsuppServ.cxx.

References MAX_PATH, and p.

Referenced by COMOpenDocuments::COMOpenDocuments(), DllRegisterServer(), and DllUnregisterServer().