LPDXUTCALLBACKMODIFYDEVICESETTINGS
Microsoft DirectX 9.0 SDK Update (October 2004)

LPDXUTCALLBACKMODIFYDEVICESETTINGS Prototype


Application-defined callback function, called by the sample framework to allow changes in device settings before the device is created with DXUTCreateDevice.

Syntax

typedef VOID (CALLBACK *LPDXUTCALLBACKMODIFYDEVICESETTINGS)(      

    DXUTDeviceSettings *pDeviceSettings,     const D3DCAPS9 *pCaps );

Parameters

pDeviceSettings
[in] Pointer to a DXUTDeviceSettings structure that contains the settings for the new device.
pCaps
[in] D3DCAPS9 structure that describes hardware capabilities.

Return Value

No return value.

Remarks

Anything in pDeviceSettings can be changed by the application.

Warning  The sample framework will not prevent the failure of device creation caused by changes to device settings.

Prototype Information

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

Modifying Available Device Settings, DXUTCreateDevice


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