VideoPortCreateSpinLock - NtDoc

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

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

NtDoc

No description available.

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

VideoPortCreateSpinLock function

Description

The VideoPortCreateSpinLock function creates a spin lock.

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

SpinLock [out]

Pointer to a memory location that will receive a pointer to the newly created spin lock.

Return value

On success the function returns NO_ERROR. If an error occurs, the function returns an appropriate error code.

Remarks

This routine must be called before an initial call to VideoPortAcquireSpinLock or to any other support routine that requires a spin lock as an argument.

See also

VideoPortAcquireSpinLock

VideoPortDeleteSpinLock