Freigeben über


SmartcardReleaseRemoveLockAndWait (WDM) function

SmartcardReleaseRemoveLockAndWait makes sure that no unload code is executed while other driver code is executing.

Syntax

VOID SmartcardReleaseRemoveLockAndWait(
  _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

To force the unload operation to wait until all other threads of the driver code have finished executing, call SmartcardReleaseRemoveLockAndWait from the driver's Unload routine.

Requirements

Target platform

Desktop

Version

Available in Windows XP and later versions of Windows.

Header

Smclib.h (include Smclib.h)

Library

Smclib.lib

IRQL

PASSIVE_LEVEL

See also

SMARTCARD_EXTENSION

 

 

Send comments about this topic to Microsoft