Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This method makes a program available for debug engines (DEs) and the session debug manager.
Syntax
int PublishProgram(
CONST_GUID_ARRAY Engines,
string szFriendlyName,
object pDebuggeeInterface
);
Parameters
Engines
[in] An array of GUIDs for DEs that can launch or attach to this program.
szFriendlyName
[in] Friendly name for the program (this appears in menus or dialogs presented to the user).
pDebuggeeInterface
[in] IUnknown interface for the program (this value is used as a cookie to uniquely identify the program; this same value is used to "unpublish" the program)
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
To make a program no longer available for debugging, call UnpublishProgram.