IVsResourceManager.LoadResourceBlob Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the resource blob into the specified package.
public:
int LoadResourceBlob(Guid % guidPackage, int culture, System::String ^ pszResourceName, [Runtime::InteropServices::Out] IntPtr % pBytes, [Runtime::InteropServices::Out] int % lAllocated);
public int LoadResourceBlob (ref Guid guidPackage, int culture, string pszResourceName, out IntPtr pBytes, out int lAllocated);
abstract member LoadResourceBlob : Guid * int * string * nativeint * int -> int
Public Function LoadResourceBlob (ByRef guidPackage As Guid, culture As Integer, pszResourceName As String, ByRef pBytes As IntPtr, ByRef lAllocated As Integer) 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.
- pBytes
-
IntPtr
nativeint
[out] Size in bytes of the blob.
- lAllocated
- Int32
[out] Bytes allocated for the blob.
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.