WDF_COMPANION_EVENT_CALLBACKS 结构 (wdfcompanion.h)

仅限内部使用。

语法

typedef struct _WDF_COMPANION_EVENT_CALLBACKS {
  ULONG                                   Size;
  PFN_WDF_COMPANION_PRE_D0_ENTRY          EvtCompanionPreD0Entry;
  PFN_WDF_COMPANION_POST_D0_EXIT          EvtCompanionPostD0Exit;
  PFN_WDF_COMPANION_PRE_PREPARE_HARDWARE  EvtCompanionPrePrepareHardware;
  PFN_WDF_COMPANION_POST_RELEASE_HARDWARE EvtCompanionPostReleaseHardware;
} WDF_COMPANION_EVENT_CALLBACKS, *PWDF_COMPANION_EVENT_CALLBACKS;

成员

Size

EvtCompanionPreD0Entry

EvtCompanionPostD0Exit

EvtCompanionPrePrepareHardware

EvtCompanionPostReleaseHardware

要求

要求
最低 UMDF 版本 2.23
标头 wdfcompanion.h