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 );