Edit

Share via


IMetaDataDispenserEx::GetCORSystemDirectory Method

Gets the directory that holds the current common language runtime (CLR). This method is supported only for use by .NET Framework out-of-process debuggers. If called from another component, it will return E_NOTIMPL.

Syntax

HRESULT GetCORSystemDirectory (
    [out] LPWSTR      szBuffer,
    [in]  DWORD       cchBuffer,
    [out] DWORD*      pchBuffer
);

Parameters

szBuffer [out] The buffer to receive the directory name.

cchBuffer [in] The size, in bytes, of szBuffer.

pchBuffer [out] The number of bytes actually returned in szBuffer.

Requirements

Platform: See .NET supported operating systems.

Header: Cor.h

Library: CorGuids.lib

See also