Leaked source code of windows server 2003
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.
 
 
 
 
 
 

32 lines
852 B

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1993.
//
// File: safedecl.hxx
//
// Contents: Declare some globally useful safe pointer classes
//
// History: 18-Oct-93 DrewB Created
//
//----------------------------------------------------------------------------
#ifndef __SAFEDECL_HXX__
#define __SAFEDECL_HXX__
#include <safepnt.hxx>
SAFE_INTERFACE_PTR(SafeIUnknown, IUnknown);
SAFE_INTERFACE_PTR(SafeIStorage, IStorage);
SAFE_INTERFACE_PTR(SafeIStream, IStream);
SAFE_HEAP_MEMPTR(SafeBytePtr, BYTE);
// Declare only on Nt-based platforms
#ifdef NT_INCLUDED
#if !defined(_CHICAGO_)
SAFE_NT_HANDLE(SafeNtHandle);
SAFE_NT_HANDLE_NO_UNWIND(NuSafeNtHandle);
#endif
#endif
#endif // #ifndef __SAFEDECL_HXX__