Muokkaa

Jaa


ICLRStrongName::StrongNameGetBlob Method

Fills the specified buffer with the binary representation of the executable file at the specified address.

Syntax

HRESULT StrongNameGetBlob (  
    [in]  LPCWSTR    wszFilePath,  
    [in]  BYTE       *pbBlob,  
    [in, out] DWORD  *pcbBlob  
);  

Parameters

wszFilePath
[in] A valid path to the executable file to be loaded.

pbBlob
[in] The buffer into which to load the executable file.

pcbBlob
[in, out] The requested maximum size, in bytes, of pbBlob. Upon return, the actual size, in bytes, of pbBlob.

Return Value

S_OK if the method completed successfully; otherwise, an HRESULT value that indicates failure (see Common HRESULT Values for a list).

Requirements

Platforms: See System Requirements.

Header: MetaHost.h

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: Available since 4

See also