Bewerken

Delen via


AVC_PEER_DO_LIST structure (avc.h)

The AVC_PEER_DO_LIST describes all nonvirtual (peer) instances of avc.sys.

Syntax

typedef struct _AVC_PEER_DO_LIST {
  ULONG          Count;
  PDEVICE_OBJECT *Objects;
} AVC_PEER_DO_LIST, *PAVC_PEER_DO_LIST;

Members

Count

Ignored on input. On output, set to the number of objects in the list. If zero, the caller must not attempt to dereference the Objects member (it is set to NULL).

Objects

Ignored on input. On output (and if the Count member is not zero) Objects contains a pointer to a contiguous array of DEVICE_OBJECT pointers. The caller must release the reference held on each object (by using ObDereferenceObject), and free the memory containing the list (by using ExFreePool) when finished with it.

Remarks

This structure is used with the AVC_FUNCTION_PEER_DO_LIST function code.

This structure is used only as a member inside the AVC_MULTIFUNC_IRB structure. It is not used by itself.

See How to Use Avc.sys For information about building and sending an AV/C command.

Requirements

Requirement Value
Header avc.h (include Avc.h)

See also

AVC_FUNCTION

AVC_FUNCTION_PEER_DO_LIST

AVC_MULTIFUNC_IRB