Share 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 (
      [out] LPWSTR       szConfigString,
      [in, out] DWORD     *pdwLength
);

Parameters

  • 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

Concepts

INativeImageInstallInfo Interface