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 ( [out] LPWSTR szBuffer, [in] DWORD cchBuffer, [out] DWORD* pchBuffer );
[out] The buffer to receive the directory name.
[in] The size, in bytes, of
[out] The number of bytes actually returned in
Platform: See System Requirements.
Library: Used as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0