Sha256: fc304bc22af835afd3748ebf5f2bf8ef71f01e81839637c37eb9be9167ba9334
Contents?: true
Size: 1.32 KB
Versions: 14
Compression:
Stored size: 1.32 KB
Contents
// PocketBrowser.cpp : Implementation of DLL Exports. #include "stdafx.h" #ifdef POCKETPC2003_UI_MODEL #include "resourceppc.h" #endif #include "PocketBrowser.h" class CPocketBrowserModule : public CAtlDllModuleT< CPocketBrowserModule > { public : DECLARE_LIBID(LIBID_PocketBrowserLib) #ifndef _CE_DCOM DECLARE_REGISTRY_APPID_RESOURCEID(IDR_POCKETBROWSER, "{083D0B84-EAFF-4992-A8CA-BBC82675034A}") #endif }; CPocketBrowserModule _AtlModule; // DLL Entry Point extern "C" BOOL WINAPI DllMain(HANDLE hInstance, DWORD dwReason, LPVOID lpReserved) { hInstance; return _AtlModule.DllMain(dwReason, lpReserved); } // Used to determine whether the DLL can be unloaded by OLE STDAPI DllCanUnloadNow(void) { return _AtlModule.DllCanUnloadNow(); } // Returns a class factory to create an object of the requested type STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv) { return _AtlModule.DllGetClassObject(rclsid, riid, ppv); } // DllRegisterServer - Adds entries to the system registry STDAPI DllRegisterServer(void) { // registers object, typelib and all interfaces in typelib HRESULT hr = _AtlModule.DllRegisterServer(); return hr; } // DllUnregisterServer - Removes entries from the system registry STDAPI DllUnregisterServer(void) { HRESULT hr = _AtlModule.DllUnregisterServer(FALSE); return hr; }
Version data entries
14 entries across 14 versions & 1 rubygems