//	myServ_supp.h : supplement header file for myServ.dll
//	Author: DLL to Lib version 1.4
//	Date: Tuesday, August 06, 2002
//	Description: The declaration of the myServ.dll's entry-point function.
//	Prototype: BOOL WINAPI xxx_DllMain(HINSTANCE hinstance, DWORD fdwReason, LPVOID lpvReserved);
//	Parameters: 
//		hinstance
//		  Handle to current instance of the application. Use AfxGetInstanceHandle()
//		  to get the instance handle if your project has MFC support.
//		fdwReason
//		  Specifies a flag indicating why the entry-point function is being called.
//		lpvReserved 
//		  Specifies further aspects of DLL initialization and cleanup. Should always
//		  be set to NULL;
//	Comment: Please see the help document for detail information about the entry-point 
//		 function
//	Homepage: http://www.binary-soft.com
//	Technical Support: support@binary-soft.com
/////////////////////////////////////////////////////////////////////

#if !defined(D2L_MYSERV_SUPP_H__64CE53B4_755F_2C6A_50B5_670B74592C7A__INCLUDED_)
#define D2L_MYSERV_SUPP_H__64CE53B4_755F_2C6A_50B5_670B74592C7A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifdef __cplusplus
extern "C" {
#endif


#include <windows.h>

#include <objbase.h>

/* The following function provides COM support to the static lib converted from myServ.dll. 
You can call it to check if there are any existing references to COM objects managed by the lib. */

STDAPI  MYSERV_DllCanUnloadNow(void);

/* The following function provides COM support to the static lib converted from myServ.dll. 
You can call it to retrieve the class object from the lib. */

STDAPI  MYSERV_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID FAR* ppv);

/* The following function provides COM support to the static lib converted from myServ.dll. 
Usually it is not necessary to call it directly. */

STDAPI MYSERV_DllRegisterServer(void);

/* The following function provides COM support to the static lib converted from myServ.dll. 
Usually it is not necessary to call it directly. */

STDAPI MYSERV_DllUnregisterServer(void);

/* This is myServ.dll's entry-point function. You should call it to do necessary
 initialization and finalization. */

BOOL WINAPI MYSERV_DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);


#ifdef __cplusplus
}
#endif

#endif // !defined(D2L_MYSERV_SUPP_H__64CE53B4_755F_2C6A_50B5_670B74592C7A__INCLUDED_)