]> sigrok.org Git - libserialport.git/blobdiff - libserialport.h.in
windows: Always check return value of GetOverlappedResult().
[libserialport.git] / libserialport.h.in
index b590cac779f5a7a9f7a8efd5af3ee68ed84e1057..9c6842ab7f079f1ed769269e0f259b21326f34f6 100644 (file)
@@ -555,10 +555,10 @@ enum sp_return sp_get_port_handle(const struct sp_port *port, void *result_ptr);
 /**
  * Allocate a port configuration structure.
  *
- * The user should allocate a variable of type "struct sp_config *" and pass a
- * pointer to this to receive the result. The variable will be updated to
- * point to the new configuration structure. The structure is opaque and must
- * be accessed via the functions provided.
+ * The user should allocate a variable of type "struct sp_port_config *" and
+ * pass a pointer to this to receive the result. The variable will be updated
+ * to point to the new configuration structure. The structure is opaque and
+ * must be accessed via the functions provided.
  *
  * All parameters in the structure will be initialised to special values which
  * are ignored by sp_set_config().