Compartilhar via


IDeviceTopology::GetConnectorCount

Previous Next

IDeviceTopology::GetConnectorCount

The GetConnectorCount method gets the number of connectors in the device-topology object.

HRESULT GetConnectorCount(
  UINT  *pCount
);

Parameters

pCount

[out]  Pointer to a UINT pointer variable into which the method writes the connector count (the number of connectors in the device topology).

Return Value

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
E_POINTER Pointer pCount is NULL.

Requirements

Client: Windows Vista

Header: Include Devicetopology.h.

See Also

Previous Next