SCardAccessStartedEvent function (winscard.h)

The SCardAccessStartedEvent function returns an event handle when an event signals that the smart card resource manager is started. The event-object handle can be specified in a call to one of the wait functions.

Syntax

HANDLE SCardAccessStartedEvent();

Return value

The function returns an event HANDLE if it succeeds or NULL if it fails.

If the function fails, the GetLastError function provides information on the cause of the failure.

Remarks

The event-object handle returned can be specified in a call to one of the wait functions.

Do not close the handle returned by this function. When you have finished using the handle, decrement the reference count by calling the SCardReleaseStartedEvent function.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winscard.h
Library Winscard.lib
DLL Winscard.dll