windows_programming_notes.nbk: Home | Index | Next Page: GET_FLAGS_LPARAM | Previous Page: GET_APPCOMMAND_LPARAM


 GET_DEVICE_LPARAM

The GET_DEVICE_LPARAM macro retrieves the input device type from the specified LPARAM value.

Syntax

    WORD GET_DEVICE_LPARAM(
        LPARAM lParam
    );

Parameters

Return Value

The return value is the bit of the high-order word representing the input device type. It can be one of the following values.

Remarks

This macro is identical to the [GET_MOUSEORKEY_LPARAM] macro.

Macro Information


windows_programming_notes.nbk: Home | Index | Next Page: GET_FLAGS_LPARAM | Previous Page: GET_APPCOMMAND_LPARAM


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time