DXUTGetD3DObject
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTGetD3DObject Function


Gets a pointer to the IDirect3D9 object.

Syntax

IDirect3D9 *DXUTGetD3DObject(VOID);

Return Value

Pointer to the IDirect3D9 object. NULL is returned if no IDirect3D9 object has been created. See Remarks.

Remarks

This function exposes access to a global IDirect3D9 object. The reference count on this object interface is not incremented, so a calling function should not release the IDirect3D9 interface pointer returned by this function.

Function Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.