Device.SetActionMap Method

Language:

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 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
);
C++ public:
SetActionMapReturnCodes SetActionMap(
    ActionFormataf,
    StringuserName,
    ApplyActionMap flags
);
JScript 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


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