DXGK_OPM_INTERFACE结构(dispmprt.h)
DXGK_OPM_INTERFACE 结构包含指向输出保护管理器(OPM)接口中函数的指针,该接口由显示微型端口驱动程序实现。
语法
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;
成员
Size
此结构的大小(以字节为单位)。
Version
一个正整数,指示由显示微型端口驱动程序实现的 OPM 接口的版本号。 版本 成员必须设置为DXGK_OPM_INTERFACE_VERSION_1,Dispmprt.h中定义。
Context
指向专用上下文块的指针。 上下文 必须设置为 NULL。
InterfaceReference
指向由显示微型端口驱动程序实现的接口引用函数的指针。 有关接口引用函数的作的详细信息,请参阅 INTERFACE 结构的“备注”部分。
InterfaceDereference
指向由显示微型端口驱动程序实现的接口取消引用函数的指针。 有关接口取消引用函数的作的详细信息,请参阅 INTERFACE 结构的“备注”部分。
DxgkDdiOPMGetCertificateSize
指向显示微型端口驱动程序的 DxgkDdiOPMGetCertificateSize 函数的指针。
DxgkDdiOPMGetCertificate
指向显示微型端口驱动程序的 DxgkDdiOPMGetCertificate 函数的指针。
DxgkDdiOPMCreateProtectedOutput
指向显示微型端口驱动程序的 DxgkDdiOPMCreateProtectedOutput 函数的指针。
DxgkDdiOPMGetRandomNumber
指向显示微型端口驱动程序的 DxgkDdiOPMGetRandomNumber 函数的指针。
DxgkDdiOPMSetSigningKeyAndSequenceNumbers
指向显示微型端口驱动程序的 DxgkDdiOPMSetSigningKeyAndSequenceNumbers 函数的指针。
DxgkDdiOPMGetInformation
指向显示微型端口驱动程序的 DxgkDdiOPMGetInformation 函数的指针。
DxgkDdiOPMGetCOPPCompatibleInformation
指向显示微型端口驱动程序的 DxgkDdiOPMGetCOPPCompatibleInformation 函数的指针。
DxgkDdiOPMConfigureProtectedOutput
指向显示微型端口驱动程序的 DxgkDdiOPMConfigureProtectedOutput 函数的指针。
DxgkDdiOPMDestroyProtectedOutput
指向显示微型端口驱动程序的 DxgkDdiOPMDestroyProtectedOutput 函数的指针。
言论
必须使用 OPM 接口的内核模式组件启动对显示微型端口驱动程序的 DxgkDdiQueryInterface 函数的调用以检索接口。
有关如何将此结构与 OPM 接口配合使用的详细信息,请参阅 检索 OPM DDI。
要求
要求 | 价值 |
---|---|
最低支持的客户端 | Windows Vista |
标头 | dispmprt.h (包括 Dispmprt.h) |