Microsoft DirectX 9.0 SDK Update (October 2004)

Device.SetCooperativeLevel Method

Language:

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

Establishes the cooperative level for this instance of the device. The cooperative level determines how this instance of the device interacts with other instances of the device and the rest of the system.

Definition

Visual Basic .NET Public Sub SetCooperativeLevel( _
    ByVal parent As Control, _
    ByVal flags As CooperativeLevelFlags _
)
C# public void SetCooperativeLevel(
    Control parent,
    CooperativeLevelFlags flags
);
Managed C++ public: void SetCooperativeLevel(
    Control *parent,
    CooperativeLevelFlags flags
);
JScript .NET public function SetCooperativeLevel(
    parent : Control,
    flags : CooperativeLevelFlags
);

Parameters

parent System.Windows.Forms.Control.
flags Microsoft.DirectX.DirectInput.CooperativeLevelFlags.

© 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