From 92b3969ea3a74aadfba69f189f9040d94e0844f2 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 24 May 2023 15:52:55 -0700
Subject: [PATCH] Fixed parameter documentation mismatch
---
src/hidapi/windows/hidapi_descriptor_reconstruct.c | 2 +-
src/hidapi/windows/hidapi_winapi.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hidapi/windows/hidapi_descriptor_reconstruct.c b/src/hidapi/windows/hidapi_descriptor_reconstruct.c
index b5d2d52a8036..32e4419e2c45 100644
--- a/src/hidapi/windows/hidapi_descriptor_reconstruct.c
+++ b/src/hidapi/windows/hidapi_descriptor_reconstruct.c
@@ -46,7 +46,7 @@ static void rd_append_byte(unsigned char byte, struct rd_buffer* rpt_desc) {
*
* @param[in] rd_item Enumeration identifying type (Main, Global, Local) and function (e.g Usage or Report Count) of the item.
* @param[in] data Data (Size depends on rd_item 0,1,2 or 4bytes).
- * @param list Chained list of report descriptor bytes.
+ * @param rpt_desc Pointer to report descriptor buffer struct.
*
* @return Returns 0 if successful, -1 for error.
*/
diff --git a/src/hidapi/windows/hidapi_winapi.h b/src/hidapi/windows/hidapi_winapi.h
index d84a2dfe2208..9c4b5c0b63c2 100644
--- a/src/hidapi/windows/hidapi_winapi.h
+++ b/src/hidapi/windows/hidapi_winapi.h
@@ -46,7 +46,7 @@ extern "C" {
@ingroup API
@param dev A device handle returned from hid_open().
- @param guid The device's container ID on return.
+ @param container_id The device's container ID on return.
@returns
This function returns 0 on success and -1 on error.