Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

98 lines
1.5 KiB

/*++
Copyright (C) Microsoft Corporation, 1996 - 1997
All rights reserved.
Module Name:
drvrver.hxx
Abstract:
Driver version detection header.
Author:
Steve Kiraly (SteveKi) 21-Jan-1996
Revision History:
--*/
#ifndef _DRVVER_HXX
#define _DRVVER_HXX
BOOL
bGetCurrentDriver(
IN LPCTSTR pszServerName,
OUT LPDWORD pdwCurrentDriver
);
PLATFORM
GetDriverPlatform(
IN DWORD dwDriver
);
DWORD
GetDriverVersion(
IN DWORD dwDriver
);
BOOL
bIsNativeDriver(
IN LPCTSTR pszServerName,
IN DWORD dwDriver
);
BOOL
bIs3xDriver(
IN DWORD dwDriver
);
BOOL
bGetArchUseSpooler(
IN LPCTSTR pName,
OUT LPTSTR pszArch,
IN DWORD dwSize,
IN OUT LPDWORD pdwVer
);
BOOL
bGetArchUseReg(
IN LPCTSTR pName,
OUT LPTSTR pszArch,
IN DWORD dwSize,
OUT LPDWORD pdwVer
);
BOOL
bEncodeArchVersion(
IN LPCTSTR pszArch,
IN DWORD dwVer,
OUT LPDWORD pdwVal
);
BOOL
bGetDriverEnv(
IN DWORD dwDriverVersion,
OUT TString &strDriverEnv
);
BOOL
bGetArchName(
IN DWORD dwDriver,
OUT TString &strDrvArchName
);
BOOL
bIsCompatibleDriverVersion(
IN DWORD dwDriver,
IN DWORD dwVersion
);
BOOL
SpoolerGetVersionEx(
IN LPCTSTR pszServerName,
IN OUT OSVERSIONINFO *pOsVersionInfo
);
#endif