IVsRelativePathResolver::ResolveRelativePath Method (UInt32, String^, String^)

 

Resolves a relative path to an absolute path for a document.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int ResolveRelativePath(
	unsigned int dwReserved,
	String^ pszRelPath,
	[OutAttribute] String^% pbstrAbsPath
)

Parameters

dwReserved
Type: System::UInt32

[in] Reserved for future use. Must be zero.

pszRelPath
Type: System::String^

[in] Relative path to the document.

pbstrAbsPath
Type: System::String^

[out, retval] Absolute path to the document.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsRelativePathResolver::ResolveRelativePath(
   [in] DWORD dwReserved,
   [in] LPCOLESTR pszRelPath,
   [out, retval] BSTR *pbstrAbsPath
);
Return to top
Show: