CMP_MONITOR_PLUGS structure (61883.h)

This structure is used to monitor plug access. The request allows a driver to monitor all access to local oPCR and iPCR plugs.

Syntax

typedef struct _CMP_MONITOR_PLUGS {
  IN ULONG                Flags;
  IN PCMP_MONITOR_ROUTINE pfnNotify;
  IN PVOID                Context;
} CMP_MONITOR_PLUGS, *PCMP_MONITOR_PLUGS;

Members

Flags

On 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.

pfnNotify

On 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
  );

MonitorInfo

On input, a pointer to a CMP_MONITOR_INFO structure containing the contents of the plug that was modified.

Context

On input, a pointer to a caller-defined context for the function at pfnNotify.

Remarks

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.

Requirements

Requirement Value
Header 61883.h

See also

AV_61883_REQUEST