LAPICALL GetDriverVersion(unsigned long* version, LPWSTR buffer, int bufferBytes);
Retrieves the driver version.
This function retrieves both a binary representation and a
human readable representation. The binary representation is
returned in *version
. The low order word contains
the minor version and the high order word contains the major
version. You may use the HIWORD
and LOWORD
macros to extract the version parts, respectively. You may specify
NULL
if you are not interested in the binary
representation
The human readable version is provided as a string. buffer
contains the address of a memory region that should receive the
string. bufferBytes
contains the size of the buffer in
bytes. Since Windows CE uses unicode strings, you must multiply
the number of characters by 2. If the buffer is too small to
contain the complete string, the string will be truncated.
You may specify NULL
if you are not interested in
the string.