// 61883.h
typedef struct _CMP_MONITOR_PLUGS {
IN ULONG Flags;
IN PCMP_MONITOR_ROUTINE pfnNotify;
IN PVOID Context;
} CMP_MONITOR_PLUGS, *PCMP_MONITOR_PLUGS;
View the official Windows Driver Kit DDI referenceNo description available.
This structure is used to monitor plug access. The request allows a driver to monitor all access to local oPCR and iPCR plugs.
FlagsOn input, the caller sets this member to REGISTER_MONITOR_PLUG_NOTIFY to register to monitor all local plug access. This member can also be set to DEREGISTER_MONITOR_PLUG_NOTIFY to stop monitoring local plug access.
pfnNotifyOn input, a pointer to a caller-supplied function to be called by the protocol driver when a local plug is accessed.
This function uses the following prototype:
typedef void
(*PCMP_MONITOR_ROUTINE) (
IN PCMP_MONITOR_INFO MonitorInfo
);
On input, a pointer to a CMP_MONITOR_INFO structure containing the contents of the plug that was modified.
ContextOn input, a pointer to a caller-defined context for the function at pfnNotify.
If successful, the IEC-61883 protocol driver sets Irp->IoStatus.Status to STATUS_SUCCESS.
If an incorrect parameter is passed in, the protocol driver sets Irp->IoStatus.Status to STATUS_INVALID_PARAMETER.