📄 com.h
字号:
/****************************************************************************** com.h : module related definition* REALmagic Quasar Hardware Library* Created by Michael Ignaszewski* Copyright Sigma Designs Inc* Sigma Designs Proprietary and confidential* Created on 03/10/99* Description:*****************************************************************************/#ifdef __cplusplusextern "C"{#endif #ifndef __MODULE_H_#define __MODULE_H_/* A function that can create a new object */typedef void (*LPFNNewObject)();/* Create one of these per object class in an array so that the default class factory code can create new instances */typedef struct tagCSDFactoryTemplate { TCHAR * m_Name; QIID * m_QIID; LPFNNewObject m_lpfnNew;}CSDFactoryTemplate; //called by COM to get the class factory object for a given classHRESULT ModCreateInstance(DWORD dwInstance, QIID* rclsid, QIID* riid, LPVOID * ppv);#endif /*__MODULE_H_*/#ifdef __cplusplus}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -