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: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

INativeImageInstallInfo Interface