description | title | ms.date | ms.topic | f1_keywords | helpviewer_keywords | author | ms.author | manager | ms.subservice | dev_langs | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the GUIDs for all the possible debug engines (DE) that can debug this program. |
IDebugProgramEngines2::EnumPossibleEngines |
11/04/2016 |
reference |
|
|
maiak |
maiak |
mijacobs |
debug-diagnostics |
|
Returns the GUIDs for all the possible debug engines (DE) that can debug this program.
int EnumPossibleEngines(
uint celtBuffer,
GUID[] rgguidEngines,
ref DWORD pceltEngines
);
HRESULT EnumPossibleEngines(
DWORD celtBuffer,
GUID* rgguidEngines,
DWORD* pceltEngines
);
celtBuffer
[in] The number of DE GUIDs to return. This also specifies the maximum size of the rgguidEngines
array.
rgguidEngines
[in, out] An array of DE GUIDs to be filled in.
pceltEngines
[out] Returns the actual number of DE GUIDs that are returned.
If successful, returns S_OK
; otherwise, returns an error code. Returns [C++] HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
or [C#] 0x8007007A if the buffer is not large enough.
In order to determine how many engines there are, call this method once with the celtBuffer
parameter set to 0 and the rgguidEngines
parameter set to a null value. This returns HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)
(0x8007007A for C#), and the pceltEngines
parameter returns the necessary size of the buffer.