windows-nt/Source/XPSP1/NT/printscan/ui/printui/drvver.hxx

99 lines
1.4 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
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