ObjectEntryN

An ObjectEntry structure. Each class needs N+1 ObjectEntry structures in sequence to support N interfaces.

 



APPENDIX D

GLOBAL VARIABLES

 

g_ObjectCount

 

g_ObjectCount DWORD

 

Contains the count of all objects currently held by the dll.

 

 

 


g_hModule

g_hModule DWORD

 

A handle to the DLL. The value is the base address of the DLL. The HINSTANCE of a DLL is the same as the HMODULE, so g_hModule can be used in subsequent calls to the GetModuleFileName function and other functions that require a module handle.

 

 


g_hHeap

g_hHeap DWORD

 

Contains the handle to the process heap returned by GetProcessHeap in DllMain.

 

 

 



APPENDIX E MACRO FUNCTIONS

 

DeclareGuid

DeclareGuid MACRO gName, IID

 

Macro data function to define a guid from a textequate.

Parameters