Condividi tramite


DXGK_OPM_INTERFACE struttura (dispmprt.h)

La struttura DXGK_OPM_INTERFACE contiene puntatori alle funzioni nell'interfaccia OPM (Output Protection Manager), implementata dal driver miniport visualizzato.

Sintassi

typedef struct _DXGK_OPM_INTERFACE {
  USHORT                                           Size;
  USHORT                                           Version;
  PVOID                                            Context;
  PINTERFACE_REFERENCE                             InterfaceReference;
  PINTERFACE_DEREFERENCE                           InterfaceDereference;
  DXGKDDI_OPM_GET_CERTIFICATE_SIZE                 DxgkDdiOPMGetCertificateSize;
  DXGKDDI_OPM_GET_CERTIFICATE                      DxgkDdiOPMGetCertificate;
  DXGKDDI_OPM_CREATE_PROTECTED_OUTPUT              DxgkDdiOPMCreateProtectedOutput;
  DXGKDDI_OPM_GET_RANDOM_NUMBER                    DxgkDdiOPMGetRandomNumber;
  DXGKDDI_OPM_SET_SIGNING_KEY_AND_SEQUENCE_NUMBERS DxgkDdiOPMSetSigningKeyAndSequenceNumbers;
  DXGKDDI_OPM_GET_INFORMATION                      DxgkDdiOPMGetInformation;
  DXGKDDI_OPM_GET_COPP_COMPATIBLE_INFORMATION      DxgkDdiOPMGetCOPPCompatibleInformation;
  DXGKDDI_OPM_CONFIGURE_PROTECTED_OUTPUT           DxgkDdiOPMConfigureProtectedOutput;
  DXGKDDI_OPM_DESTROY_PROTECTED_OUTPUT             DxgkDdiOPMDestroyProtectedOutput;
} DXGK_OPM_INTERFACE, *PDXGK_OPM_INTERFACE;

Members

Size

Dimensione, in byte, della struttura.

Version

Intero positivo che indica il numero di versione dell'interfaccia OPM implementata dal driver miniport visualizzato. Il membro Version deve essere impostato su DXGK_OPM_INTERFACE_VERSION_1, definito in Dispmprt.h.

Context

Puntatore a un blocco di contesto privato. Il contesto deve essere impostato su NULL.

InterfaceReference

Puntatore a una funzione di riferimento dell'interfaccia implementata dal driver miniport visualizzato. Per altre informazioni sull'operazione di una funzione di riferimento dell'interfaccia, vedere la sezione Osservazioni della struttura INTERFACE .

InterfaceDereference

Puntatore a una funzione di dereferenza dell'interfaccia implementata dal driver miniport visualizzato. Per altre informazioni sull'operazione di una funzione di dereferenza dell'interfaccia, vedere la sezione Osservazioni della struttura INTERFACE .

DxgkDdiOPMGetCertificateSize

Puntatore alla funzione DxgkDdiOPMGetCertificateSize del driver dxgkDdiOPM .

DxgkDdiOPMGetCertificate

Puntatore alla funzione DxgkDdiOPMGetCertificate del driver del miniport visualizzato.

DxgkDdiOPMCreateProtectedOutput

Puntatore alla funzione DxgkDdiOPMCreateProtectedOutput del driver di visualizzazione.

DxgkDdiOPMGetRandomNumber

Puntatore alla funzione DxgkDdiOPMGetRandomNumber del driver di visualizzazione.

DxgkDdiOPMSetSigningKeyAndSequenceNumbers

Puntatore alla funzione DxgkDdiOPMSetSigningKeyAndSequenceNumbers del driver di visualizzazione.

DxgkDdiOPMGetInformation

Puntatore alla funzione DxgkDdiOPMGetInformation del driver di visualizzazione.

DxgkDdiOPMGetCOPPCompatibleInformation

Puntatore alla funzione DxgkDdiOPMGetCOPPCompatibleInformation del driver di visualizzazione.

DxgkDdiOPMConfigureProtectedOutput

Puntatore alla funzione DxgkDdiOPMConfigureProtectedOutput del driver di visualizzazione.

DxgkDdiOPMDestroyProtectedOutput

Puntatore alla funzione DxgkDdiOPMDestroyProtectedOutput del driver di visualizzazione.

Commenti

Un componente in modalità kernel che deve usare l'interfaccia OPM avvia una chiamata alla funzione DxgkDdiQueryInterface del driver di visualizzazione per recuperare l'interfaccia.

Per altre informazioni su come usare questa struttura con l'interfaccia OPM, vedere Recupero di OPM DDI.

Requisiti

Requisito Valore
Client minimo supportato Windows Vista
Intestazione dispmprt.h (include Dispmprt.h)