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 hwnd As IntPtr, _
    ByVal flags As CooperativeLevelFlags _
)
C# public void SetCooperativeLevel(
    IntPtr hwnd,
    CooperativeLevelFlags flags
);
Managed C++ public: void SetCooperativeLevel(
    IntPtr hwnd,
    CooperativeLevelFlags flags
);
JScript .NET public function SetCooperativeLevel(
    hwnd : IntPtr,
    flags : CooperativeLevelFlags
);

Parameters

hwnd System.IntPtr.
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