Partager via


INativeImageInstallInfo::GetConfigString Method

Gets a string representing the contents, dependencies, and assumptions of the native image. All the information must match the cached data for the native assembly to be valid.

HRESULT GetConfigString (
    LPWSTR      szConfigString,
    DWORD       *pdwLength
);

Parameters

Parameter Description

szConfigString

[out] A buffer for the returned string.

pdwLength

[in, out] On input, the size in wide characters of the szConfigString buffer; on output, the size in wide characters of the returned string, including the terminating null character.

Return Value

HRESULT Description

S_OK

GetConfigString returned successfully.

ERROR_INSUFFICIENT_BUFFER

szConfigString is not large enough to hold the returned string.

Requirements

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

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0

See Also

Reference

INativeImageInstallInfo Interface