Funktionreferenz


_WinAPI_GetRawInputBuffer


Performs a buffered read of the raw input data

#include <WinAPISys.au3>
_WinAPI_GetRawInputBuffer ( $pBuffer, $iLength )

Parameter

$pBuffer A pointer to the buffer to receive an array of $tagRAWINPUT structures containing the raw input data.
$iLength The size of the buffer, in bytes.

Rückgabewert

Success: The number of $tagRAWINPUT structures written to the buffer.
Failure: 0 and sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

Bemerkungen

To obtain the minimum required buffer size to call this function, use _WinAPI_GetRawInputBufferLength().

To ensure the _WinAPI_GetRawInputBuffer() function behaves properly on WOW64,
you must align the $tagRAWINPUT structure by 8 bytes.

Verwandte Funktionen

_WinAPI_GetRawInputBufferLength

Siehe auch

Suche nach GetRawInputBuffer in der MSDN Bibliothek.