匯出 (0) 列印
全部展開
EN
本內容沒有您的語言版本,但有英文版本。

GET_RAWINPUT_CODE_WPARAM macro

Retrieves the input code from wParam in WM_INPUT.

Syntax


WPARAM GET_RAWINPUT_CODE_WPARAM(
  WPARAM wParam
);

Parameters

wParam

Input code. This parameter can be the following value.

ValueMeaning
RIM_INPUT
0

Input occurred while the application was in the foreground. The application must call DefWindowProc so the system can perform cleanup.

RIM_INPUTSINK
1

Input occurred while the application was not in the foreground. The application must call DefWindowProc so the system can perform the cleanup.

 

Return value

The return value is the input code for the raw input data. Currently, this function can return only the following value.

Return code/valueDescription
RIM_INPUT
0

Input occurred while the application was in the foreground. The application must call DefWindowProc so the system can perform cleanup.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
RAWINPUT
WM_INPUT
Conceptual
Raw Input

 

 

社群新增項目

新增
顯示:
© 2014 Microsoft