Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Verifies that a port supplier can add new ports.
HRESULT CanAddPort(
void
);
int CanAddPort();
Return Value
If the port can be added, returns S_OK; otherwise, returns S_FALSE to indicate no ports can be added to this port supplier.
Remarks
Call this method before calling the IDebugPortSupplier2::AddPort method since the latter method creates the port as well as adding it, which could be a time-consuming operation.