# OgreD3D9Prerequisites.h File Reference

`#include "OgrePrerequisites.h"`
`#include "OgreNoMemoryMacros.h"`
`#include <d3d9.h>`
`#include <d3dx9.h>`
`#include <dxerr9.h>`
`#include "OgreMemoryMacros.h"`

Go to the source code of this file.

## Namespaces

namespace | Ogre

## Defines

#define | DIRECT3D_VERSION 0x0900
#define | SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
#define | SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
#define | SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
#define | NOMINMAX
#define | OGRE_D3D_MANAGE_BUFFERS 1
#define | _OgreD3D9Export

## Define Documentation

#define _OgreD3D9Export

| Definition at line 77 of file OgreD3D9Prerequisites.h.

#define DIRECT3D_VERSION 0x0900

| Definition at line 31 of file OgreD3D9Prerequisites.h.

#define NOMINMAX

| Definition at line 40 of file OgreD3D9Prerequisites.h.

#define OGRE_D3D_MANAGE_BUFFERS 1

| Definition at line 69 of file OgreD3D9Prerequisites.h.

#define SAFE_DELETE | ( | p |  | ) | { if(p) { delete (p); (p)=NULL; } }

| Definition at line 34 of file OgreD3D9Prerequisites.h.

#define SAFE_DELETE_ARRAY | ( | p |  | ) | { if(p) { delete[] (p); (p)=NULL; } }

| Definition at line 35 of file OgreD3D9Prerequisites.h.

#define SAFE_RELEASE | ( | p |  | ) | { if(p) { (p)->Release(); (p)=NULL; } }

| Definition at line 36 of file OgreD3D9Prerequisites.h.

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 12:59:55 2006