diff --git a/sdk-api-src/content/winuser/nf-winuser-getrawinputbuffer.md b/sdk-api-src/content/winuser/nf-winuser-getrawinputbuffer.md index 71ab895cb76b..a20234203e8e 100644 --- a/sdk-api-src/content/winuser/nf-winuser-getrawinputbuffer.md +++ b/sdk-api-src/content/winuser/nf-winuser-getrawinputbuffer.md @@ -57,7 +57,7 @@ Performs a buffered read of the raw input messages data found in the calling thr Type: **PRAWINPUT** -A pointer to a buffer of [RAWINPUT](ns-winuser-rawinput.md) structures that contain the raw input data. Buffer should be aligned on a pointer boundary, which is a **DWORD** on 32-bit architectures and a **QWORD** on 64-bit architectures. +A pointer to a buffer of [RAWINPUT](ns-winuser-rawinput.md) structures that contain the raw input data. Pointer should be aligned on a **DWORD** (32-bit) boundary. If **NULL**, size of the first raw input message data (minimum required buffer), in bytes, is returned in \**pcbSize*. diff --git a/sdk-api-src/content/winuser/nf-winuser-getrawinputdata.md b/sdk-api-src/content/winuser/nf-winuser-getrawinputdata.md index 0505ad09a66e..ba09f1a03051 100644 --- a/sdk-api-src/content/winuser/nf-winuser-getrawinputdata.md +++ b/sdk-api-src/content/winuser/nf-winuser-getrawinputdata.md @@ -64,8 +64,7 @@ Retrieves the raw input from the specified device. Type: HRAWINPUT -A handle to the RAWINPUT structure. This comes from the - lParam in WM_INPUT. +A handle to the RAWINPUT structure. This comes from the lParam in WM_INPUT. ### -param uiCommand [in] @@ -106,16 +105,15 @@ Get the raw data from the RAWINPUT structure. This depends on the value of - uiCommand. If - pData is NULL, the required size of the buffer is returned in *pcbSize. +A pointer to the data that comes from the RAWINPUT structure. This depends on the value of uiCommand. Pointer should be aligned on a **DWORD** (32-bit) boundary. + +If pData is NULL, the required size of the buffer is returned in *pcbSize. ### -param pcbSize [in, out] Type: PUINT -The size, in bytes, of the data in - pData. +The size, in bytes, of the data in pData. ### -param cbSizeHeader [in] @@ -127,9 +125,7 @@ The size, in bytes, of the GetRawInputBuffer - - RAWINPUT - - RAWINPUTHEADER - - Raw Input diff --git a/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfoa.md b/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfoa.md index ac3fe060101f..1af0bb6cd77e 100644 --- a/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfoa.md +++ b/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfoa.md @@ -121,7 +121,7 @@ For this uiCommand only, the value in pcbSize is the character cou Type: LPVOID -A pointer to a buffer that contains the information specified by uiCommand. +A pointer to a buffer that contains the information specified by uiCommand. Pointer should be aligned on a **DWORD** (32-bit) boundary. If uiCommand is RIDI_DEVICEINFO, set the cbSize member of RID_DEVICE_INFO to sizeof(RID_DEVICE_INFO) before calling GetRawInputDeviceInfo. diff --git a/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfow.md b/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfow.md index db213d8874db..8db065acb581 100644 --- a/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfow.md +++ b/sdk-api-src/content/winuser/nf-winuser-getrawinputdeviceinfow.md @@ -121,7 +121,7 @@ For this uiCommand only, the value in pcbSize is the character cou Type: LPVOID -A pointer to a buffer that contains the information specified by uiCommand. +A pointer to a buffer that contains the information specified by uiCommand. Pointer should be aligned on a **DWORD** (32-bit) boundary. If uiCommand is RIDI_DEVICEINFO, set the cbSize member of RID_DEVICE_INFO to sizeof(RID_DEVICE_INFO) before calling GetRawInputDeviceInfo. diff --git a/sdk-api-src/content/winuser/nf-winuser-getrawinputdevicelist.md b/sdk-api-src/content/winuser/nf-winuser-getrawinputdevicelist.md index 2d7e7b5647f7..faac1d29db02 100644 --- a/sdk-api-src/content/winuser/nf-winuser-getrawinputdevicelist.md +++ b/sdk-api-src/content/winuser/nf-winuser-getrawinputdevicelist.md @@ -65,7 +65,9 @@ Enumerates the raw input devices attached to the system. Type: PRAWINPUTDEVICELIST -An array of RAWINPUTDEVICELIST structures for the devices attached to the system. If NULL, the number of devices are returned in *puiNumDevices. +An array of RAWINPUTDEVICELIST structures for the devices attached to the system. Pointer should be aligned on a **DWORD** (32-bit) boundary. + +If NULL, the number of devices are returned in *puiNumDevices. ### -param puiNumDevices [in, out] @@ -84,11 +86,9 @@ The size of a GetLastError returns the error indication. +On any other error, the function returns (UINT) -1 and GetLastError returns the error indication. ## -remarks @@ -127,18 +127,8 @@ free(pRawInputDeviceList); Conceptual - - GetRawInputDeviceInfo - - RAWINPUTDEVICELIST - - Raw Input - - - -Reference diff --git a/sdk-api-src/content/winuser/nf-winuser-getregisteredrawinputdevices.md b/sdk-api-src/content/winuser/nf-winuser-getregisteredrawinputdevices.md index 90ef690365f3..59248ef60ae9 100644 --- a/sdk-api-src/content/winuser/nf-winuser-getregisteredrawinputdevices.md +++ b/sdk-api-src/content/winuser/nf-winuser-getregisteredrawinputdevices.md @@ -58,7 +58,7 @@ Retrieves the information about the raw input devices for the current applicatio Type: PRAWINPUTDEVICE -An array of RAWINPUTDEVICE structures for the application. +An array of RAWINPUTDEVICE structures for the application. Pointer should be aligned on a **DWORD** (32-bit) boundary. ### -param puiNumDevices [in, out] @@ -88,18 +88,10 @@ To receive raw input from a device, an application must register it by using Conceptual - - RAWINPUTDEVICE - - Raw Input - - Reference - - -RegisterRawInputDevices \ No newline at end of file +RegisterRawInputDevices diff --git a/sdk-api-src/content/winuser/nf-winuser-registerrawinputdevices.md b/sdk-api-src/content/winuser/nf-winuser-registerrawinputdevices.md index f32354f494fd..db76e60208da 100644 --- a/sdk-api-src/content/winuser/nf-winuser-registerrawinputdevices.md +++ b/sdk-api-src/content/winuser/nf-winuser-registerrawinputdevices.md @@ -64,7 +64,7 @@ Registers the devices that supply the raw input data. Type: PCRAWINPUTDEVICE -An array of RAWINPUTDEVICE structures that represent the devices that supply the raw input. +An array of RAWINPUTDEVICE structures that represent the devices that supply the raw input. Pointer should be aligned on a **DWORD** (32-bit) boundary. ### -param uiNumDevices [in] @@ -98,18 +98,10 @@ Only one window per raw input device class may be registered to receive raw inpu Conceptual - - RAWINPUTDEVICE - - Raw Input - - Reference - - WM_INPUT