VideoPortDeleteSpinLock - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

VIDEOPORT_API VP_STATUS VideoPortDeleteSpinLock(
  [in] IN PVOID      HwDeviceExtension,
  [in] IN PSPIN_LOCK SpinLock
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportdeletespinlock)

VideoPortDeleteSpinLock function

Description

The VideoPortDeleteSpinLock function deletes a given spin lock.

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.

See also

VideoPortCreateSpinLock

VideoPortSynchronizeExecution