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