Share via


Device.SetActionMap(ActionFormat,ApplyActionMap) Method (Microsoft.DirectX.DirectInput)

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 flags As ApplyActionMap _
) As SetActionMapReturnCodes
C# public SetActionMapReturnCodes SetActionMap(
    ActionFormat af,
    ApplyActionMap flags
);
C++ public:
SetActionMapReturnCodes SetActionMap(
    ActionFormataf,
    ApplyActionMap flags
);
JScript public function SetActionMap(
    af : ActionFormat,
    flags : ApplyActionMap
) : SetActionMapReturnCodes;

Parameters

af Microsoft.DirectX.DirectInput.ActionFormat
flags Microsoft.DirectX.DirectInput.ApplyActionMap

Return Value

Microsoft.DirectX.DirectInput.SetActionMapReturnCodes