Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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.