DeviceProperties.GetScanCode Method

Language:

Retrieves the scan code for a keyboard key.

Definition

Visual Basic Public Function GetScanCode( _
    ByVal how As ParameterHow, _
    ByVal objectId As Integer _
) As Integer
C# public int GetScanCode(
    ParameterHow how,
    int objectId
);
C++ public:
int GetScanCode(
    ParameterHow how,
    int objectId
);
JScript public function GetScanCode(
    how : ParameterHow,
    objectId : int
) : int;

Parameters

how Microsoft.DirectX.DirectInput.ParameterHow
objectId System.Int32

Return Value

System.Int32


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