Microsoft DirectX 9.0 SDK Update (October 2004)

Device.SetActionMap Method

Language:

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

Sets the data format for a device and maps application-defined actions to device objects. It also sets the buffer size for buffered data.

Definition

Visual Basic .NET Public Function SetActionMap( _
    ByVal af As ActionFormat, _
    ByVal userName As String, _
    ByVal flags As ApplyActionMap _
) As SetActionMapReturnCodes
C# public SetActionMapReturnCodes SetActionMap(
    ActionFormat af,
    string userName,
    ApplyActionMap flags
);
Managed C++ public: SetActionMapReturnCodes SetActionMap(
    ActionFormat *af,
    String *userName,
    ApplyActionMap flags
);
JScript .NET public function SetActionMap(
    af : ActionFormat,
    userName : String,
    flags : ApplyActionMap
) : SetActionMapReturnCodes;

Parameters

af Microsoft.DirectX.DirectInput.ActionFormat.
userName System.String.
flags Microsoft.DirectX.DirectInput.ApplyActionMap.

Return Value

Microsoft.DirectX.DirectInput.SetActionMapReturnCodes .


© 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