UCM_CONNECTOR_PD_CONFIG struttura (ucmmanager.h)

Descrive le funzionalità di Power Delivery 2.0 del connettore.

Sintassi

typedef struct _UCM_CONNECTOR_PD_CONFIG {
  ULONG                            Size;
  BOOLEAN                          IsSupported;
  ULONG                            SupportedPowerRoles;
  PFN_UCM_CONNECTOR_SET_POWER_ROLE EvtSetPowerRole;
} UCM_CONNECTOR_PD_CONFIG, *PUCM_CONNECTOR_PD_CONFIG;

Members

Size

Dimensioni della struttura UCM_CONNECTOR_PD_CONFIG .

IsSupported

Se TRUE, è supportato un ruolo PD. (Impostazione predefinita).

Se FALSE, un ruolo PD non è supportato.

SupportedPowerRoles

Indica la modalità operativa del connettore. Questo valore è un OR bit per bit di flag tipizzato UCM_POWER_ROLE.

EvtSetPowerRole

Puntatore all'implementazione di Policy Manager del callback dell'evento di EVT_UCM_CONNECTOR_SET_POWER_ROLE .

Commenti

Inizializzare questa struttura chiamando UCM_CONNECTOR_PD_CONFIG_INIT. Una struttura di UCM_CONNECTOR_TYPEC_CONFIG inizializzata è impostata sul membro PdConfig della struttura UCM_CONNECTOR_CONFIG , ovvero un valore del parametro di input su UcmConnectorCreate chiamato da Policy Manager per creare un oggetto connettore.

Requisiti

Requisito Valore
Client minimo supportato Windows 10
Server minimo supportato Windows Server 2016
Versione KMDF minima 1.15
Versione UMDF minima 2.15
Intestazione ucmmanager.h (includere Ucmcx.h)

Vedi anche

UcmConnectorCreate