Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Retrieves the highest (latest) version of the Print Schema that the specified printer supports.
Syntax
HRESULT PTQuerySchemaVersionSupport(
[in] PCWSTR pszPrinterName,
[out] DWORD *pMaxVersion
);
Parameters
[in] pszPrinterName
A pointer to the full name of a print queue.
[out] pMaxVersion
A pointer to the highest version.
Return value
If the operation succeeds, the return value is S_OK, otherwise the HRESULT contains an error code.
For more information about COM error codes, see Error Handling.
Remarks
The first version of the Print Schema was released with Windows Vista and is version 1.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Target Platform | Windows |
| Header | prntvpt.h |
| Library | Prntvpt.lib |
| DLL | Prntvpt.dll |