HttpUrlToFilePath Method
Topic Last Modified: 2006-06-13
This method converts an HTTP URL to a "file:" file path.
Applies To
Type Library
EXOLEDB Type Library
DLL Implemented In
EXOLEDB.DLL
Syntax
Function HttpUrlToFilePath( bstrHttpUrl As String) As String
HRESULT HttpUrlToFilePath
(
BSTR bstrHttpUrl,
BSTR* pbstrFilePath
);
Parameters
- bstrHttpUrl
A fully qualified HTTP URL to the local machine.
- pbstrFilePath
Pointer to the local file path for the resource to which the HTTP URL refers.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
In Microsoft® Visual C++® the returned BSTR must be freed with SysFreeString.