pub unsafe fn PTGetPrintDeviceResources<P0, P1, P2, P3>(
    hprovider: P0,
    pszlocalename: P1,
    pprintticket: P2,
    pdeviceresources: P3,
    pbstrerrormessage: Option<*mut BSTR>
) -> Result<()>
where P0: Param<HPTPROVIDER>, P1: Param<PCWSTR>, P2: Param<IStream>, P3: Param<IStream>,