Share via


SmartcardReleaseRemoveLock (WDM) function

SmartcardReleaseRemoveLock decrements the driver's reference counter, which SmartcardAcquireRemoveLock (WDM) incremented.

Syntax

VOID SmartcardReleaseRemoveLock(
  _In_ PSMARTCARD_EXTENSION SmartcardExtension
);

Parameters

  • SmartcardExtension [in]
    A pointer to a SMARTCARD_EXTENSION structure that contains the device extension of the smart card device.

Return value

None

Remarks

Call SmartcardReleaseRemoveLock to release the lock that was obtained by calling SmartcardAcquireRemoveLock (WDM).

Requirements

Target platform

Desktop

Version

Available in Windows XP and later versions of Windows.

Header

Smclib.h (include Smclib.h)

Library

Smclib.lib

IRQL

<= DISPATCH_LEVEL

See also

SmartcardAcquireRemoveLock (WDM)

SMARTCARD_EXTENSION

 

 

Send comments about this topic to Microsoft