Muokkaa

Jaa


IDebugPortSupplier3::EnumPersistedPorts

This method retrieves an object that allows enumeration of the list of persisted ports.

Syntax

int EnumPersistedPorts(
   BSTR_ARRAY           PortNames,
   out IEnumDebugPorts2 ppEnum
);

Parameters

PortNames
[in] A BSTR_ARRAY structure that contains a list of port names to find and return among the persisted ports. Only those persisted ports with these names will be returned.

ppEnum
[out] An object that implements the IEnumDebugPorts2 interface.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Persisted ports are loaded when a port supplier is instantiated, and saved when the port supplier is destroyed.

See also