IHTMLDoc::GetSafeURL Method
Description
This method generates a temporary, secure URL that provides access to files stored on the disk.
Syntax
[id(0x000000CE)]
HRESULT _stdcall GetSafeURL([in] BSTR Filename, [in] long Minutes, [out, retval] BSTR* OutRetVal);
Parameters
| Parameter | Type | Description |
|---|---|---|
Filename |
BSTR | The file path to be accessed |
Minutes |
long | Duration in minutes for URL validity |
OutRetVal |
BSTR* | The generated safe URL (return value) |
Return Value
Returns an HRESULT status code indicating success or failure of the operation.