Skip to content

XvioGetRingBufferContextSafe

Safe version of XvioGetRingBufferContext. Essentially just checks if the XVIO service is initialized and the ServiceId parameter matches the ring buffer's service ID.

Syntax

C++
PXVIO_RING_BUFFER XvioGetRingBufferContext(
    uint32_t TargetPartition,
    uint32_t ServiceId
);

Parameters

uint32_t TargetPartition
The Partition ID of the partition the ring buffer targets.

uint32_t ServiceId
The Service ID of the XVIO service the ring buffer targets.

Return value

Returns a pointer to a XVIO_RING_BUFFER structure.

Authors: Harry Woolford, Nullicorn