mirror of https://github.com/tongzx/nt5src
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.
66 lines
964 B
66 lines
964 B
//----------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1996.
|
|
// All rights reserved.
|
|
//
|
|
// File: ds.hxx
|
|
//
|
|
// Contents: Print DS
|
|
//
|
|
//
|
|
// History: Nov 1996 SWilson
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
DWORD
|
|
SetPrinterDs(
|
|
HANDLE hPrinter,
|
|
DWORD dwAction,
|
|
BOOL bSynchronous
|
|
);
|
|
|
|
VOID
|
|
InitializeDS(
|
|
PINISPOOLER pIniSpooler
|
|
);
|
|
|
|
VOID
|
|
UpdateDsSpoolerKey(
|
|
HANDLE hPrinter,
|
|
DWORD dwVector
|
|
);
|
|
|
|
VOID
|
|
UpdateDsDriverKey(
|
|
HANDLE hPrinter
|
|
);
|
|
|
|
DWORD
|
|
RecreateDsKey(
|
|
HANDLE hPrinter,
|
|
PWSTR pszKey
|
|
);
|
|
|
|
|
|
DWORD
|
|
InitializeDSClusterInfo(
|
|
PINISPOOLER pIniSpooler,
|
|
HANDLE *hToken
|
|
);
|
|
|
|
HRESULT
|
|
GetDNSMachineName(
|
|
PWSTR pszShortServerName,
|
|
PWSTR *ppszServerName
|
|
);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|