匯出 (0) 列印
全部展開
EN
本內容沒有您的語言版本,但有英文版本。
1 人當中有 0 人評分為有幫助- 為這個主題評分

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

 

 

本文對您有任何幫助嗎?
(剩餘 1500 個字元)
感謝您提供意見

社群新增項目

新增
顯示:
© 2014 Microsoft. 著作權所有,並保留一切權利。