OWLNext 7.0
Borland's Object Windows Library for the modern age
|
OLE Registration implementation. More...
#include <ocf/pch.h>
#include <ocf/ocreg.h>
#include <ocf/appdesc.h>
#include <owl/pointer.h>
#include <owl/module.h>
#include <shellapi.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Namespaces | |
namespace | ocf |
Object Component Framework (COM encapsulation) | |
Functions | |
ocf::DIAG_DEFINE_GROUP_INIT (OWL_INI, OcfDll, 1, 0) | |
ocf::DIAG_DECLARE_GROUP (OcfRefCount) | |
long | ocf::OcRegisterClass (TRegList ®Info, TModule *module, tostream &out, TLangId lang, LPCTSTR filter, TRegItem *defaults, TRegItem *overrides) |
Generate OLE registration file image to an output stream. | |
int | ocf::OcUnregisterClass (TRegList ®Info, TRegItem *overrides) |
Unregister application or class from registration database. | |
int | ocf::OcSetupDebugReg (TRegList ®Info, TRegItem *regDebug, TLangId lang, TCHAR *clsid) |
Walk thru a reginfo list using debug entries to create a parallel non-debug set for alternate, debug registration. | |
STDAPI | __declspec (dllexport) DllRegisterCommand(LPCTSTR cmdLine) |
Entry point for complete registration management via command line Don't let any exceptions blow back to OLE. | |
STDAPI | DllGetClassObject (const GUID &clsid, const GUID &iid, void **retObj) |
OLE 2.0 entry point for obtaining a class factory for a particular CLSID Don't let any exceptions blow back to OLE. | |
STDAPI | DllCanUnloadNow () |
OLE 2.0 entry point for checking if DLL has no clients and can be unloaded. | |
STDAPI | DllRegisterServer () |
OLE 2.0 entry point for registering DLL, no locale info passed. | |
STDAPI | DllUnregisterServer () |
OLE 2.0 entry point for unregistering DLL. | |
int WINAPI | DllEntryPoint (HINSTANCE hInstance, uint32 reason, LPVOID) |
Variables | |
const TCHAR * | ocf::OcReplaceKeys [] = { _T("progid"), _T("clsid"), _T("description"), _T("extraopt")} |
const TCHAR * | ocf::OcDebugKeys [] = {_T("debugprogid"), _T("debugclsid"), _T("debugdesc"), _T("debugopt")} |
OLE Registration implementation.
Definition in file ocreg.cpp.
Entry point for complete registration management via command line Don't let any exceptions blow back to OLE.
Definition at line 495 of file ocreg.cpp.
References ocf::amDebug, ocf::TRegistrar::GetNext(), HR_FAIL, HR_OK, and OWL_BREAK.
STDAPI DllCanUnloadNow | ( | ) |
Definition at line 610 of file ocreg.cpp.
References _T, and OWLInitUserDLL().
OLE 2.0 entry point for obtaining a class factory for a particular CLSID Don't let any exceptions blow back to OLE.
Definition at line 524 of file ocreg.cpp.
References ocf::TRegistrar::GetNext(), HR_FAIL, and HR_OK.
STDAPI DllRegisterServer | ( | ) |