Compartir a través de


IVsResourceManager.LoadResourceBitmap(Guid, Int32, String, IntPtr) Method

Definition

Loads the resource bitmap into the specified package.

public:
 int LoadResourceBitmap(Guid % guidPackage, int culture, System::String ^ pszResourceName, [Runtime::InteropServices::Out] IntPtr % hbmpValue);
public int LoadResourceBitmap (ref Guid guidPackage, int culture, string pszResourceName, out IntPtr hbmpValue);
abstract member LoadResourceBitmap : Guid * int * string * nativeint -> int
Public Function LoadResourceBitmap (ByRef guidPackage As Guid, culture As Integer, pszResourceName As String, ByRef hbmpValue As IntPtr) As Integer

Parameters

guidPackage
Guid

[in] Guid of the package into which the resource will be loaded.

culture
Int32

[in] A LCID value specifying the culture for which the resource is valid. Supplying a value of 0 will select the LCID that the user selected when the application was started.

pszResourceName
String

[in] The name of the resource.

hbmpValue
IntPtr

nativeint

[out, retval] Pointer to the resource.

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