Share via


IMetaDataDispenserEx::GetCORSystemDirectory Method

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

HRESULT GetCORSystemDirectory (
    LPWSTR      szBuffer, 
    DWORD       cchBuffer, 
    DWORD*      pchBuffer
);

Parameters

Parameter Description

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Used as a resource in Mscoree.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

IMetaDataDispenserEx Interface
IMetaDataDispenser Interface