GLOBALS.H
///////////////////////////////////////////////////////////////////////////// 
// globals.h : Utility functions and global variables 
// 
// This is a part of the MMC SDK. 
// Copyright (C) 1997 Microsoft Corporation 
// All rights reserved. 
// 
// This source code is only intended as a supplement to the 
// MMC SDK Reference and related 
// electronic documentation provided with the library. 
// See these sources for detailed information regarding the 
// MMC Library product. 
// 
 
#ifndef __GLOBALS_H_ 
#define __GLOBALS_H_ 
 
#include "dataobj.h" 
 
extern HINSTANCE    g_hinst; 
 
///////////////////////////////////////////////////////////////////////////// 
// We need a few functions to help work with dataobjects and clipboard formats 
 
HRESULT ExtractFromDataObject(LPDATAOBJECT lpDataObject,UINT cf,ULONG cb,HGLOBAL *phGlobal); 
CDataObject *ExtractOwnDataObject(LPDATAOBJECT lpDataObject); 
VOID DisplayError( LONG nErrorCode, LPWSTR wszDlgTitle ); 
 
#endif // __GLOBALS_H_