40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
|
/*==========================================================================
|
||
|
*
|
||
|
* Copyright (C) 1998 Microsoft Corporation. All Rights Reserved.
|
||
|
*
|
||
|
* File: createin.h
|
||
|
* Content: defines functions required by the generic class factory
|
||
|
*
|
||
|
*
|
||
|
* The generic class factory (classfac.c) requires these functions to be
|
||
|
* implemented by the COM object(s) its supposed to be generating
|
||
|
*
|
||
|
* GP_ stands for "General Purpose"
|
||
|
*
|
||
|
* History:
|
||
|
* Date By Reason
|
||
|
* ==== == ======
|
||
|
* 10/13/98 jwo Created it.
|
||
|
***************************************************************************/
|
||
|
|
||
|
#ifndef __CREATEINS__
|
||
|
#define __CREATEINS__
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
// you must implement this function to create an instance of your COM object
|
||
|
HRESULT DoCreateInstance(LPCLASSFACTORY This, LPUNKNOWN pUnkOuter, REFCLSID rclsid, REFIID riid,
|
||
|
LPVOID *ppvObj);
|
||
|
|
||
|
// you must implement this function. Given a class id, you must respond
|
||
|
// whether or not your DLL implements it
|
||
|
BOOL IsClassImplemented(REFCLSID rclsid);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|