EVT_VMB_PACKET_COMPLETION_ROUTINE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// vmbuskernelmodeclientlibapi.h

EVT_VMB_PACKET_COMPLETION_ROUTINE EvtVmbPacketCompletionRoutine;

VOID EvtVmbPacketCompletionRoutine(
  [in] VMBPACKET Packet,
  [in] NTSTATUS Status,
  [in] PVOID Buffer,
  [in] UINT32 BufferLength
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-vmbuskernelmodeclientlibapi-evt_vmb_packet_completion_routine)

EVT_VMB_PACKET_COMPLETION_ROUTINE callback function

Description

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

The EvtVmbPacketCompletionRoutine callback function is invoked when the transaction associated with a sent packet is complete.

Parameters

Packet [in]

The packet that is completed.

Status [in]

A status code.

Buffer [in]

A buffer that contains the completion response from the opposite endpoint, if any.

BufferLength [in]

Length of the Buffer parameter, in bytes.

Remarks

After allocating a packet object by using the VmbPacketAllocate function, the client drive can set a completion callback by using the VmbPacketSetCompletionRoutine function.

If the sender used the VMBUS_CHANNEL_FORMAT_FLAG_WAIT_FOR_COMPLETION flag, invocation of this callback means that the opposite endpoint received the packet and completed it. If not, the outgoing packet was successfully placed into the ring buffer.

See also

VmbPacketAllocate

VmbPacketSetCompletionRoutine