PINT10_FREE_BUFFER callback function

The Int10FreeBuffer function frees a buffer previously allocated by Int10AllocateBuffer.

Syntax

PINT10_FREE_BUFFER Pint10FreeBuffer;

VP_STATUS Pint10FreeBuffer(
  IN PVOID Context,
  IN USHORT Seg,
  IN USHORT Off
)
{...}

Parameters

Context

Pointer to a video port driver-defined context for the interface. This should be the same as the value in the Context member of the VIDEO_PORT_INT10_INTERFACE structure after VideoPortQueryServices returns.

Seg

Specifies the segment address of the buffer to be freed.

Off

Specifies the offset within the segment indicated by the Seg parameter.

Return Value

The Int10FreeBuffer function returns NO_ERROR upon success. Otherwise, the function returns an appropriate error code.

Remarks

The video port implements this function, which can be accessed through a pointer in the VIDEO_PORT_INT10_INTERFACE structure.

Requirements

   
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
IRQL PASSIVE_LEVEL

See Also

VIDEO_PORT_INT10_INTERFACE