StrongNameGetBlobFromImage Function

Gets a binary representation of the assembly image at the specified memory address.

BOOLEAN StrongNameGetBlobFromImage (
        [in]  BYTE        *pbBase,
        [in]  DWORD       dwLength,
        [in]  BYTE        *pbBlob,
        [in, out] DWORD   *pcbBlob
);

Parameters

Parameter Description

pbBase

[in] The memory address of the mapped assembly manifest.

dwLength

[in] The size, in bytes, of the image at pbBase.

pbBlob

[in] A buffer to contain the binary representation of the image.

pcbBlob

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

Return Value

true on successful completion; otherwise, false.

Remarks

If the StrongNameGetBlobFromImage function does not complete successfully, call the StrongNameErrorInfo Function function to retrieve the last generated error.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: StrongName.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

StrongNameGetBlob Function

Other Resources

Strong Naming Global Static Functions