LPDXUTCALLBACKDEVICEDESTROYED
Microsoft DirectX 9.0 SDK Update (October 2004)

LPDXUTCALLBACKDEVICEDESTROYED Prototype


Application-defined resource deletion callback function, to be called by the sample framework immediately after the device is destroyed.

Syntax

typedef VOID (CALLBACK *LPDXUTCALLBACKDEVICEDESTROYED)(VOID);

Return Value

No return value.

Remarks

This callback function should be used to delete resources created in the LPDXUTCALLBACKDEVICECREATED callback function. The deleted resources will generally include all resources created in D3DPOOL_MANAGED or D3DPOOL_SYSTEMMEM memory.

Prototype Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

Device Events, DXUTSetCallbackDeviceDestroyed, DXUTSetCallbackDeviceCreated, LPDXUTCALLBACKDEVICECREATED


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