共用方式為


PTM_CONTROL_INTERFACE 結構 (wdm.h)

語法

typedef struct _PTM_CONTROL_INTERFACE {
  USHORT                        Size;
  USHORT                        Version;
  PVOID                         Context;
  PINTERFACE_REFERENCE          InterfaceReference;
  PINTERFACE_DEREFERENCE        InterfaceDereference;
  PPTM_DEVICE_QUERY_GRANULARITY QueryGranularity;
  PPTM_DEVICE_QUERY_TIME_SOURCE QueryTimeSource;
  PPTM_DEVICE_ENABLE            Enable;
  PPTM_DEVICE_DISABLE           Disable;
} PTM_CONTROL_INTERFACE, *PPTM_CONTROL_INTERFACE;

成員

Size

Version

Context

InterfaceReference

InterfaceDereference

QueryGranularity

QueryTimeSource

Enable

Disable

規格需求

需求
最低支援的用戶端 Windows 10 版本 1809
標頭 wdm.h