![]() |
![]() |
![]() |
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
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
Modifying Available Device Settings, DXUTCreateDevice