Device.SetCooperativeLevel Method

Language:

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 Public Sub SetCooperativeLevel( _
    ByVal parent As Control, _
    ByVal flags As CooperativeLevelFlags _
)
C# public void SetCooperativeLevel(
    Control parent,
    CooperativeLevelFlags flags
);
C++ public:
void SetCooperativeLevel(
    Controlparent,
    CooperativeLevelFlags flags
);
JScript public function SetCooperativeLevel(
    parent : Control,
    flags : CooperativeLevelFlags
);

Parameters

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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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