Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the origin URL of the cached file.
Syntax
HRESULT GetOriginUrl(
[in] LPWSTR *pVal
);
Parameters
[in] pVal
Null-terminated string that contains the origin URL of the cached file. Call the CoTaskMemFree function to free ppOriginUrl when done.
Return value
The method returns the following return values.
| Return code | Description |
|---|---|
|
Success |
Remarks
This URL may be different than the URL originally specified in the BITS job if IBackgroundCopyJobHttpOptions::SetSecurityFlags is set to BG_HTTP_REDIRECT_POLICY_ALLOW_REPORT or BG_HTTP_REDIRECT_POLICY_DISALLOW.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | bits3_0.h (include Bits.h) |
| Library | Bits.lib |