Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Syntax


HRESULT GetCORSystemDirectory(
  [out, size_is(cchBuffer)] 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.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataDispenserEx

 

 

Show:
© 2017 Microsoft