Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.74 KB

idebugprogramengines2-enumpossibleengines.md

File metadata and controls

59 lines (50 loc) · 1.74 KB
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
IDebugProgramEngines2::EnumPossibleEngines
IDebugProgramEngines2::EnumPossibleEngines
maiak
maiak
mijacobs
debug-diagnostics
CPP
CSharp

IDebugProgramEngines2::EnumPossibleEngines

Returns the GUIDs for all the possible debug engines (DE) that can debug this program.

Syntax

int EnumPossibleEngines( 
   uint      celtBuffer,
   GUID[]    rgguidEngines,
   ref DWORD pceltEngines
);
HRESULT EnumPossibleEngines( 
   DWORD  celtBuffer,
   GUID*  rgguidEngines,
   DWORD* pceltEngines
);

Parameters

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.

Return Value

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.

Remarks

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.

See also