classfactory.h
来自「WIndows mobile 5.0 pocket pc sdk sample 」· C头文件 代码 · 共 29 行
H
29 行
extern ULONG g_dwDLLRefCount;
// **************************************************************************
// MedicalHistoryClassFactory
//
// This is a simple implementation of a class which is used to instantiate
// another class... specifically the MedicalHistoryMenuExtension COM class
//
// This class is instantiated/constructed by DllGetClassObject (see Main.cpp)
//
class MedicalHistoryClassFactory : public IClassFactory
{
private:
long m_cRef;
public:
MedicalHistoryClassFactory();
virtual ~MedicalHistoryClassFactory();
// IUnknown interface
STDMETHODIMP QueryInterface(REFIID riid, void** ppObject);
STDMETHODIMP_(ULONG) AddRef();
STDMETHODIMP_(ULONG) Release();
STDMETHODIMP CreateInstance(IUnknown *pUnkOuter, REFIID riid, void** ppObject);
STDMETHODIMP LockServer(BOOL fLock);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?