Deprecated. Retrieves the system folder of the Windows Internet Explorer executable.
HRESULT IWebBrowser2::get_Path(BSTR *Path);
- Pointer to a variable of type BSTR that receives the local file system path without executable name. The caller frees this buffer with the SysFreeString function.
Returns one of the following values.
S_OK The operation completed successfully. E_FAIL The operation failed. E_OUTOFMEMORY There is insufficient memory to complete the operation.
Internet Explorer 8 and later. Always returns an empty string.
The WebBrowser object delegates this method to the top-level frame. If no frame exists, it returns E_FAIL.