DGetLibraryVersion | 21
DGetLibraryVersion
(Windows NT, Windows 2000 full Windows NT 4.0-compatible mode)
Purpose Use
DGetLibraryVersion
to return the version of the
DOME Windows DLL.
Syntax
DWORD DGetLibraryVersion (lpwLibraryVersion)
Return value
DWORD –
zero (0) if function completed successfully;
otherwise, operating system error code.
Example This example returns the library version in
wLibraryVersion
.
#include <mdpcint.h>
{
UWORD
wLibraryVersion;
DWORD
dwRetCode;
dwRetCode = DGetLibraryVersion
(&wLibraryVersion);
return dwRetCode;
}
See also
DGetDriverVersion
and the
GetFileVersionInfo
function of the Microsoft SDK
Parameter Type
Name
Description
UWORD FAR *
wLibraryVersion
Pointer to
UWORD
.
It is filled in with a
hexadecimal value.
The high byte is the
version number, and
the low byte is the
revision number. For
example, 0x201 is
returned when you’re
using the version
2.1 library.
Summary of Contents for Dome DX/PCI
Page 6: ......