###### Enums ######
EDefaultDevmodeType = {
    "kUserDefaultDevmode": 0,
    "kPrinterDefaultDevmode": 1,
}
EDefaultDevmodeType_INV = {
    0: "kUserDefaultDevmode",
    1: "kPrinterDefaultDevmode",
}
EPrintTicketScope = {
    "kPTPageScope": 0,
    "kPTDocumentScope": 1,
    "kPTJobScope": 3,
}
EPrintTicketScope_INV = {
    0: "kPTPageScope",
    1: "kPTDocumentScope",
    3: "kPTJobScope",
}

###################

###### Types ######
HPTPROVIDER = HANDLE
HPTPROVIDER_PTR = Ptr("<I", HPTPROVIDER())
EDefaultDevmodeType = UINT
EPrintTicketScope = UINT

###################

###### Functions ######

def prntvpt_PTConvertPrintTicketToDevMode(jitter):
    """
    HRESULT PTConvertPrintTicketToDevMode(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        EDefaultDevmodeType baseDevmodeType,
        EPrintTicketScope scope,
        ULONG* pcbDevmode,
        PDEVMODE* ppDevmode,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "pPrintTicket", "baseDevmodeType", "scope", "pcbDevmode", "ppDevmode", "pbstrErrorMessage"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTConvertDevModeToPrintTicket(jitter):
    """
    HRESULT PTConvertDevModeToPrintTicket(
        HPTPROVIDER hProvider,
        ULONG cbDevmode,
        PDEVMODE pDevmode,
        EPrintTicketScope scope,
        IStream* pPrintTicket
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "cbDevmode", "pDevmode", "scope", "pPrintTicket"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTReleaseMemory(jitter):
    """
    HRESULT PTReleaseMemory(
        PVOID pBuffer
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pBuffer"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTMergeAndValidatePrintTicket(jitter):
    """
    HRESULT PTMergeAndValidatePrintTicket(
        HPTPROVIDER hProvider,
        IStream* pBaseTicket,
        IStream* pDeltaTicket,
        EPrintTicketScope scope,
        IStream* pResultTicket,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "pBaseTicket", "pDeltaTicket", "scope", "pResultTicket", "pbstrErrorMessage"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTGetPrintCapabilities(jitter):
    """
    HRESULT PTGetPrintCapabilities(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        IStream* pCapabilities,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "pPrintTicket", "pCapabilities", "pbstrErrorMessage"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTOpenProvider(jitter):
    """
    HRESULT PTOpenProvider(
        PCWSTR pszPrinterName,
        DWORD version,
        HPTPROVIDER* phProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pszPrinterName", "version", "phProvider"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTOpenProviderEx(jitter):
    """
    HRESULT PTOpenProviderEx(
        PCWSTR pszPrinterName,
        DWORD maxVersion,
        DWORD prefVersion,
        HPTPROVIDER* phProvider,
        DWORD* usedVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pszPrinterName", "maxVersion", "prefVersion", "phProvider", "usedVersion"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTCloseProvider(jitter):
    """
    HRESULT PTCloseProvider(
        HPTPROVIDER hProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTQuerySchemaVersionSupport(jitter):
    """
    HRESULT PTQuerySchemaVersionSupport(
        PCWSTR pszPrinterName,
        DWORD* pMaxVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pszPrinterName", "pMaxVersion"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

9a73ff2699dec1b021ce080c2944ab2cec6af874
<mask token>


def prntvpt_PTConvertDevModeToPrintTicket(jitter):
    """
    HRESULT PTConvertDevModeToPrintTicket(
        HPTPROVIDER hProvider,
        ULONG cbDevmode,
        PDEVMODE pDevmode,
        EPrintTicketScope scope,
        IStream* pPrintTicket
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'cbDevmode',
        'pDevmode', 'scope', 'pPrintTicket'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


<mask token>


def prntvpt_PTMergeAndValidatePrintTicket(jitter):
    """
    HRESULT PTMergeAndValidatePrintTicket(
        HPTPROVIDER hProvider,
        IStream* pBaseTicket,
        IStream* pDeltaTicket,
        EPrintTicketScope scope,
        IStream* pResultTicket,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pBaseTicket',
        'pDeltaTicket', 'scope', 'pResultTicket', 'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


<mask token>


def prntvpt_PTOpenProviderEx(jitter):
    """
    HRESULT PTOpenProviderEx(
        PCWSTR pszPrinterName,
        DWORD maxVersion,
        DWORD prefVersion,
        HPTPROVIDER* phProvider,
        DWORD* usedVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'maxVersion',
        'prefVersion', 'phProvider', 'usedVersion'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTCloseProvider(jitter):
    """
    HRESULT PTCloseProvider(
        HPTPROVIDER hProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


<mask token>

<mask token>


def prntvpt_PTConvertDevModeToPrintTicket(jitter):
    """
    HRESULT PTConvertDevModeToPrintTicket(
        HPTPROVIDER hProvider,
        ULONG cbDevmode,
        PDEVMODE pDevmode,
        EPrintTicketScope scope,
        IStream* pPrintTicket
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'cbDevmode',
        'pDevmode', 'scope', 'pPrintTicket'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


<mask token>


def prntvpt_PTMergeAndValidatePrintTicket(jitter):
    """
    HRESULT PTMergeAndValidatePrintTicket(
        HPTPROVIDER hProvider,
        IStream* pBaseTicket,
        IStream* pDeltaTicket,
        EPrintTicketScope scope,
        IStream* pResultTicket,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pBaseTicket',
        'pDeltaTicket', 'scope', 'pResultTicket', 'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


<mask token>


def prntvpt_PTOpenProviderEx(jitter):
    """
    HRESULT PTOpenProviderEx(
        PCWSTR pszPrinterName,
        DWORD maxVersion,
        DWORD prefVersion,
        HPTPROVIDER* phProvider,
        DWORD* usedVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'maxVersion',
        'prefVersion', 'phProvider', 'usedVersion'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTCloseProvider(jitter):
    """
    HRESULT PTCloseProvider(
        HPTPROVIDER hProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTQuerySchemaVersionSupport(jitter):
    """
    HRESULT PTQuerySchemaVersionSupport(
        PCWSTR pszPrinterName,
        DWORD* pMaxVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'pMaxVersion'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

<mask token>


def prntvpt_PTConvertPrintTicketToDevMode(jitter):
    """
    HRESULT PTConvertPrintTicketToDevMode(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        EDefaultDevmodeType baseDevmodeType,
        EPrintTicketScope scope,
        ULONG* pcbDevmode,
        PDEVMODE* ppDevmode,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pPrintTicket',
        'baseDevmodeType', 'scope', 'pcbDevmode', 'ppDevmode',
        'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTConvertDevModeToPrintTicket(jitter):
    """
    HRESULT PTConvertDevModeToPrintTicket(
        HPTPROVIDER hProvider,
        ULONG cbDevmode,
        PDEVMODE pDevmode,
        EPrintTicketScope scope,
        IStream* pPrintTicket
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'cbDevmode',
        'pDevmode', 'scope', 'pPrintTicket'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTReleaseMemory(jitter):
    """
    HRESULT PTReleaseMemory(
        PVOID pBuffer
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pBuffer'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTMergeAndValidatePrintTicket(jitter):
    """
    HRESULT PTMergeAndValidatePrintTicket(
        HPTPROVIDER hProvider,
        IStream* pBaseTicket,
        IStream* pDeltaTicket,
        EPrintTicketScope scope,
        IStream* pResultTicket,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pBaseTicket',
        'pDeltaTicket', 'scope', 'pResultTicket', 'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTGetPrintCapabilities(jitter):
    """
    HRESULT PTGetPrintCapabilities(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        IStream* pCapabilities,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pPrintTicket',
        'pCapabilities', 'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


<mask token>


def prntvpt_PTOpenProviderEx(jitter):
    """
    HRESULT PTOpenProviderEx(
        PCWSTR pszPrinterName,
        DWORD maxVersion,
        DWORD prefVersion,
        HPTPROVIDER* phProvider,
        DWORD* usedVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'maxVersion',
        'prefVersion', 'phProvider', 'usedVersion'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTCloseProvider(jitter):
    """
    HRESULT PTCloseProvider(
        HPTPROVIDER hProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTQuerySchemaVersionSupport(jitter):
    """
    HRESULT PTQuerySchemaVersionSupport(
        PCWSTR pszPrinterName,
        DWORD* pMaxVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'pMaxVersion'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

<mask token>


def prntvpt_PTConvertPrintTicketToDevMode(jitter):
    """
    HRESULT PTConvertPrintTicketToDevMode(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        EDefaultDevmodeType baseDevmodeType,
        EPrintTicketScope scope,
        ULONG* pcbDevmode,
        PDEVMODE* ppDevmode,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pPrintTicket',
        'baseDevmodeType', 'scope', 'pcbDevmode', 'ppDevmode',
        'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTConvertDevModeToPrintTicket(jitter):
    """
    HRESULT PTConvertDevModeToPrintTicket(
        HPTPROVIDER hProvider,
        ULONG cbDevmode,
        PDEVMODE pDevmode,
        EPrintTicketScope scope,
        IStream* pPrintTicket
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'cbDevmode',
        'pDevmode', 'scope', 'pPrintTicket'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTReleaseMemory(jitter):
    """
    HRESULT PTReleaseMemory(
        PVOID pBuffer
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pBuffer'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTMergeAndValidatePrintTicket(jitter):
    """
    HRESULT PTMergeAndValidatePrintTicket(
        HPTPROVIDER hProvider,
        IStream* pBaseTicket,
        IStream* pDeltaTicket,
        EPrintTicketScope scope,
        IStream* pResultTicket,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pBaseTicket',
        'pDeltaTicket', 'scope', 'pResultTicket', 'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTGetPrintCapabilities(jitter):
    """
    HRESULT PTGetPrintCapabilities(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        IStream* pCapabilities,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider', 'pPrintTicket',
        'pCapabilities', 'pbstrErrorMessage'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTOpenProvider(jitter):
    """
    HRESULT PTOpenProvider(
        PCWSTR pszPrinterName,
        DWORD version,
        HPTPROVIDER* phProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'version',
        'phProvider'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTOpenProviderEx(jitter):
    """
    HRESULT PTOpenProviderEx(
        PCWSTR pszPrinterName,
        DWORD maxVersion,
        DWORD prefVersion,
        HPTPROVIDER* phProvider,
        DWORD* usedVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'maxVersion',
        'prefVersion', 'phProvider', 'usedVersion'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTCloseProvider(jitter):
    """
    HRESULT PTCloseProvider(
        HPTPROVIDER hProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['hProvider'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)


def prntvpt_PTQuerySchemaVersionSupport(jitter):
    """
    HRESULT PTQuerySchemaVersionSupport(
        PCWSTR pszPrinterName,
        DWORD* pMaxVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(['pszPrinterName', 'pMaxVersion'])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

###### Enums ######
EDefaultDevmodeType = {
    "kUserDefaultDevmode": 0,
    "kPrinterDefaultDevmode": 1,
}
EDefaultDevmodeType_INV = {
    0: "kUserDefaultDevmode",
    1: "kPrinterDefaultDevmode",
}
EPrintTicketScope = {
    "kPTPageScope": 0,
    "kPTDocumentScope": 1,
    "kPTJobScope": 3,
}
EPrintTicketScope_INV = {
    0: "kPTPageScope",
    1: "kPTDocumentScope",
    3: "kPTJobScope",
}

###################

###### Types ######
HPTPROVIDER = HANDLE
HPTPROVIDER_PTR = Ptr("<I", HPTPROVIDER())
EDefaultDevmodeType = UINT
EPrintTicketScope = UINT

###################

###### Functions ######

def prntvpt_PTConvertPrintTicketToDevMode(jitter):
    """
    HRESULT PTConvertPrintTicketToDevMode(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        EDefaultDevmodeType baseDevmodeType,
        EPrintTicketScope scope,
        ULONG* pcbDevmode,
        PDEVMODE* ppDevmode,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "pPrintTicket", "baseDevmodeType", "scope", "pcbDevmode", "ppDevmode", "pbstrErrorMessage"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTConvertDevModeToPrintTicket(jitter):
    """
    HRESULT PTConvertDevModeToPrintTicket(
        HPTPROVIDER hProvider,
        ULONG cbDevmode,
        PDEVMODE pDevmode,
        EPrintTicketScope scope,
        IStream* pPrintTicket
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "cbDevmode", "pDevmode", "scope", "pPrintTicket"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTReleaseMemory(jitter):
    """
    HRESULT PTReleaseMemory(
        PVOID pBuffer
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pBuffer"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTMergeAndValidatePrintTicket(jitter):
    """
    HRESULT PTMergeAndValidatePrintTicket(
        HPTPROVIDER hProvider,
        IStream* pBaseTicket,
        IStream* pDeltaTicket,
        EPrintTicketScope scope,
        IStream* pResultTicket,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "pBaseTicket", "pDeltaTicket", "scope", "pResultTicket", "pbstrErrorMessage"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTGetPrintCapabilities(jitter):
    """
    HRESULT PTGetPrintCapabilities(
        HPTPROVIDER hProvider,
        IStream* pPrintTicket,
        IStream* pCapabilities,
        BSTR* pbstrErrorMessage
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider", "pPrintTicket", "pCapabilities", "pbstrErrorMessage"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTOpenProvider(jitter):
    """
    HRESULT PTOpenProvider(
        PCWSTR pszPrinterName,
        DWORD version,
        HPTPROVIDER* phProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pszPrinterName", "version", "phProvider"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTOpenProviderEx(jitter):
    """
    HRESULT PTOpenProviderEx(
        PCWSTR pszPrinterName,
        DWORD maxVersion,
        DWORD prefVersion,
        HPTPROVIDER* phProvider,
        DWORD* usedVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pszPrinterName", "maxVersion", "prefVersion", "phProvider", "usedVersion"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTCloseProvider(jitter):
    """
    HRESULT PTCloseProvider(
        HPTPROVIDER hProvider
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["hProvider"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)

def prntvpt_PTQuerySchemaVersionSupport(jitter):
    """
    HRESULT PTQuerySchemaVersionSupport(
        PCWSTR pszPrinterName,
        DWORD* pMaxVersion
    )
    """
    ret_ad, args = jitter.func_args_stdcall(["pszPrinterName", "pMaxVersion"])
    raise RuntimeError('API not implemented')
    jitter.func_ret_stdcall(ret_ad, ret_value)
