Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.CreateDeviceFromSettings Method

Language:

Note: This documentation is preliminary and is subject to change.

Tells the framework to change to a device created from settings described in a DeviceSettings object.

Definition

Visual Basic .NET Public Sub CreateDeviceFromSettings( _
    ByVal deviceSettings As DeviceSettings _
)
C# public void CreateDeviceFromSettings(
    DeviceSettings deviceSettings
);
Managed C++ public: void CreateDeviceFromSettings(
    DeviceSettings *deviceSettings
);
JScript .NET public function CreateDeviceFromSettings(
    deviceSettings : DeviceSettings
);

Parameters

deviceSettings Microsoft.Samples.DirectX.UtilityToolkit.DeviceSettings. The DeviceSettings object contains the settings for the new device.

Remarks

If CreateWindow or SetWindow has not already been called, this method will call CreateWindow with default parameters. Instead of calling this, you can call SetDevice or CreateDevice.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center