registry.h

来自「COM技术内幕源码 ,随书原码」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef __Registry_H__#define __Registry_H__//// Registry.h//   - Helper functions registering and unregistering a component.//// This function will register a component in the Registry.// The component calls this function from its DllRegisterServer function.HRESULT RegisterServer(HMODULE hModule,                        const CLSID& clsid,                        const char* szFriendlyName,                       const char* szVerIndProgID,                       const char* szProgID,                       const GUID& libid) ;// This function will unregister a component.  Components// call this function from their DllUnregisterServer function.HRESULT UnregisterServer(const CLSID& clsid,                         const char* szVerIndProgID,                         const char* szProgID) ;#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?