You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
778 B
36 lines
778 B
// Copyright (c) 1996-1999 Microsoft Corporation
|
|
// Misc.h
|
|
//
|
|
// functions used in multiple DLL's
|
|
|
|
#ifndef __MISC_H__
|
|
#define __MISC_H__
|
|
|
|
//LPVOID MemGlobalAllocPtr(UINT uFlags,DWORD dwBytes);
|
|
//BOOL MemGlobalFreePtr(LPVOID p);
|
|
|
|
// memory functions
|
|
//HRESULT MemStart();
|
|
//void MemEnd();
|
|
|
|
/*#ifdef _DEBUGMEM
|
|
#ifndef new
|
|
void* operator new( size_t cb, LPCTSTR pszFileName, WORD wLine );
|
|
#define new new( __FILE__, (WORD)__LINE__ )
|
|
#endif
|
|
#endif*/
|
|
|
|
#ifdef DBG
|
|
#define RELEASE( obj ) ( (obj)->Release(), *((char**)&(obj)) = (char*)0x0bad0bad )
|
|
#else
|
|
#define RELEASE( obj ) (obj)->Release()
|
|
#endif
|
|
|
|
BOOL GetRegValueDword(
|
|
LPCTSTR szRegPath,
|
|
LPCTSTR szValueName,
|
|
LPDWORD pdwValue);
|
|
|
|
ULONG GetTheCurrentTime();
|
|
|
|
#endif // __MISC_H__
|