 |
 |
 |
|
|  |  |
 |
GetRawInputData ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves the raw input from the specified device. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
UINT WINAPI GetRawInputData(
__in HRAWINPUT hRawInput,
__in UINT uiCommand,
__out_opt LPVOID pData,
__inout PUINT pcbSize,
__in UINT cbSizeHeader
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER GetRawInputData IN user32;
INTEGER hRawInput,;
LONG uiCommand,;
STRING @pData,;
LONG @pcbSize,;
LONG cbSizeHeader
|
 |  |  | | Parameters: |  | hRawInput [in]
A handle to the RAWINPUT structure. This comes from the lParam in WM_INPUT.
uiCommand [in]
The command flag: RID_HEADER, RID_INPUT
pData [out, optional]
A pointer to the data that comes from the RAWINPUT structure. This depends on the value of uiCommand.
pcbSize [in, out]
The size, in bytes, of the data in pData.
cbSizeHeader [in]
The size, in bytes, of the RAWINPUTHEADER structure. |
 |  | | Return value: |  | | If pData is NULL and the function is successful, the return value is 0. If pData is not NULL and the function is successful, the return value is the number of bytes copied into pData. |
 |  | | Usage: |  |
nBufsize=0
GetRawInputData( m.hRawinput, RID_INPUT,;
NULL, @nBufsize, RAWINPUTHEADER_SIZE )
cRawdata = REPLICATE(CHR(0), nBufsize)
GetRawInputData( m.hRawinput, RID_INPUT,;
@cRawdata, @nBufsize, RAWINPUTHEADER_SIZE )
|
 |  | | My comment: |  | | See also: RegisterRawInputDevices |
 |  | | Word Index links for the GetRawInputData : |  | |
|
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2011-01-05 20:22:11 | | Modified: | 2011-01-05 20:25:40 | Visited in last 7 days: 21 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|