SecureDownloadCopyTicketLocation

Function SecureDownloadCopyTicketLocation 

Source
pub unsafe extern "C-unwind" fn SecureDownloadCopyTicketLocation(
    url: Option<&CFURL>,
    ticket_location: *mut *const CFURL,
) -> i32
👎Deprecated: SecureDownload is not supported
Available on crate feature SecureDownload only.
Expand description

Copies the ticket location from an x-securedownload URL.

Parameter url: The x-securedownload URL.

Parameter ticketLocation: On exit, the URL of the ticket.

Returns: A result code. See “Security Error Codes” (SecBase.h).

§Safety

  • url might not allow None.
  • ticket_location must be a valid pointer.