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.
 
 
 
 
 
 

34 lines
913 B

/***************************************************************************\
*
* File: ResourceManager.inl
*
* History:
* 4/18/2000: JStall: Created
*
* Copyright (C) 2000 by Microsoft Corporation. All rights reserved.
*
\***************************************************************************/
#if !defined(SERVICES__ResourceManager_inl__INCLUDED)
#define SERVICES__ResourceManager_inl__INCLUDED
#pragma once
//------------------------------------------------------------------------------
inline RMData *
ResourceManager::GetData()
{
AssertMsg(s_pData != NULL, "Data must be initialized before using");
return s_pData;
}
//------------------------------------------------------------------------------
inline DxManager *
GetDxManager()
{
return &(ResourceManager::GetData()->manDX);
}
#endif // SERVICES__ResourceManager_inl__INCLUDED