// video.h
VIDEOPORT_API VP_STATUS VideoPortDeleteSpinLock(
[in] IN PVOID HwDeviceExtension,
[in] IN PSPIN_LOCK SpinLock
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortDeleteSpinLock function deletes a given spin lock.
HwDeviceExtension [in]Pointer to the miniport driver's device extension.
SpinLock [in]Pointer to the spin lock to delete.
If the spin lock is successfully deleted, VideoPortDeleteSpinLock returns NO_ERROR.
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.