CloseCLREnumeration Function
Closes any valid common language runtime (CLR) continue-startup events located in an array of handles returned by the EnumerateCLRs function, and frees the memory for the handle and string path arrays.
HRESULT CloseCLREnumeration (
[in] DWORD pHandleArray,
[in] LPWSTR** pStringArray,
[in] DWORD* dwArrayLength
);
Parameters
pHandleArray
[in] Pointer to the array of event handles returned from the EnumerateCLRs function.pStringArray
[in] Pointer to the array of CLR string paths returned from the EnumerateCLRs function.dwArrayLength
[in] DWORD that contains the size (length) of either pHandleArray or pStringArray (they are the same).
Return Value
S_OK
Handles opened by the EnumerateCLRs function are closed, and memory allocated for the handle and string arrays is freed.E_INVALIDARG
The length of pHandleArray does not match the length that is passed in dwArrayLength.E_FAIL (or other E_ return codes)
The function is unable to free the memory for pHandleArray and pStringArray.
Requirements
Platforms: See .NET Framework System Requirements.
Header: dbgshim.h
Library: dbgshim.dll
.NET Framework Versions: 3.5 SP1
See Also
Other Resources
Silverlight Debugging Reference for Windows
Change History
Date |
History |
Reason |
---|---|---|
October 2008 |
Added topic. |
Information enhancement. |