Bewerken

Delen via


VideoPortPutDmaAdapter function (video.h)

The VideoPortPutDmaAdapter function frees a VP_DMA_ADAPTER structure that was previously allocated by a call to VideoPortGetDmaAdapter.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API VOID VideoPortPutDmaAdapter(
  [in] IN PVOID           HwDeviceExtension,
  [in] IN PVP_DMA_ADAPTER VpDmaAdapter
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] VpDmaAdapter

Pointer to the VP_DMA_ADAPTER structure that represents the bus-master adapter.

Return value

None

Remarks

A miniport driver should call this function only if it will not use the same VP_DMA_ADAPTER structure again.

Requirements

Requirement Value
Minimum supported client Available in Windows XP and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL PASSIVE_LEVEL

See also

VP_DMA_ADAPTER

VideoPortGetDmaAdapter