Udostępnij za pośrednictwem


IUIHostLocale2.GetUILibraryFileName(String, String, String) Method

Definition

Returns a UI library (DLL) file.

public:
 int GetUILibraryFileName(System::String ^ lpstrPath, System::String ^ lpstrDllName, [Runtime::InteropServices::Out] System::String ^ % pbstrOut);
int GetUILibraryFileName(std::wstring const & lpstrPath, std::wstring const & lpstrDllName, [Runtime::InteropServices::Out] std::wstring const & & pbstrOut);
public int GetUILibraryFileName (string lpstrPath, string lpstrDllName, out string pbstrOut);
abstract member GetUILibraryFileName : string * string * string -> int
Public Function GetUILibraryFileName (lpstrPath As String, lpstrDllName As String, ByRef pbstrOut As String) As Integer

Parameters

lpstrPath
String

[in] Specifies the path to the DLL.

lpstrDllName
String

[in] Specifies DLL name.

pbstrOut
String

[out] Pointer to a string containing the out.

Returns

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

Remarks

This method is safe to access from any thread.

Applies to