From 5b9bc288ee698588b8d62df6002c31dedff3b51b Mon Sep 17 00:00:00 2001 From: Shauleiz Date: Wed, 25 May 2016 11:44:19 +0300 Subject: [PATCH] Added comments Describing function XOutputGetBusVersion() --- XOutput/XOutput.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/XOutput/XOutput.h b/XOutput/XOutput.h index faebd4f..71d3311 100644 --- a/XOutput/XOutput.h +++ b/XOutput/XOutput.h @@ -290,6 +290,26 @@ extern "C" _Out_ PDWORDLONG Version ); + ///------------------------------------------------------------------------------------------------- + /// + /// Get Version of Virtual bus driver. + // The value is hardcoded into the driver + /// + /// + /// + /// The format is A.B.C.D where all fields are in the range 0-255 + // The output of this function dedicates one BYTE (8 bits) per field. + /// + /// + /// Driver version number. + /// + /// + /// If the function succeeds, the return value is ERROR_SUCCESS. + /// + /// If the function fails, the return value is an error code defined in XOutput.h. The function + /// does not use SetLastError to set the calling thread's last-error code. + /// + ///------------------------------------------------------------------------------------------------- XOUTPUT_API DWORD XOutputGetBusVersion( _Out_ PDWORD Version );