PINT10_FREE_BUFFER callback function (video.h)
The Int10FreeBuffer function frees a buffer previously allocated by Int10AllocateBuffer.
Syntax
PINT10_FREE_BUFFER Pint10FreeBuffer;
VP_STATUS Pint10FreeBuffer(
[in] IN PVOID Context,
[in] IN USHORT Seg,
[in] IN USHORT Off
)
{...}
Parameters
[in] 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.
[in] Seg
Specifies the segment address of the buffer to be freed.
[in] 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
Requirement | Value |
---|---|
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 |