DGetLibraryVersion
(Windows NT, Windows 2000 full Windows NT 4.0-compatible mode)
Purpose Use
DOME Windows DLL.
Syntax
DWORD DGetLibraryVersion (lpwLibraryVersion)
Return value
DWORD –
otherwise, operating system error code.
Example This example returns the library version in
wLibraryVersion
#include <mdpcint.h>
{
UWORD
DWORD
dwRetCode = DGetLibraryVersion
return dwRetCode;
}
See also
DGetDriverVersion
function of the Microsoft SDK
DGetLibraryVersion
Parameter Type
UWORD FAR *
zero (0) if function completed successfully;
.
wLibraryVersion;
dwRetCode;
(&wLibraryVersion);
to return the version of the
Name
wLibraryVersion
and the
GetFileVersionInfo
DGetLibraryVersion | 21
Description
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.