VideoPortDeleteSpinLock function

The VideoPortDeleteSpinLock function deletes a given spin lock.

Syntax


VP_STATUS VideoPortDeleteSpinLock(
  _In_ PVOID      HwDeviceExtension,
  _In_ PSPIN_LOCK SpinLock
);

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

SpinLock [in]

Pointer to the spin lock to delete.

Return value

If the spin lock is successfully deleted, VideoPortDeleteSpinLock returns NO_ERROR.

Remarks

A miniport driver uses this function to delete a spin lock that was previously created in a call to VideoPortCreateSpinLock.

This routine cannot be called from an ISR or from a VideoPortSynchronizeExecution callback requested where the Priority parameter is set to either VpMediumPriority or VpHighPriority.

Requirements

Target platform

Desktop

Version

Available in Windows XP and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

<=DISPATCH_LEVEL

See also

VideoPortCreateSpinLock
VideoPortSynchronizeExecution

 

 

Send comments about this topic to Microsoft

Show: