PFN_SMC_EJECT function pointer
Optional. Handles the request to eject the currently inserted card from the smart card reader.
Syntax
typedef NTSTATUS ( *PFN_SMC_EJECT)(
_In_ WDFDEVICE FxDevice,
_In_ WDFREQUEST FxRequest
);
Parameters
FxDevice [in]
Handle to the framework device object.FxRequest [in]
Handle to the framework request object.
Return value
If the function encounters no errors, it must return STATUS_SUCCESS. Otherwise, one of the appropriate NTSTATUS values.
Remarks
The client driver must register its implementation with the smart card call extension in the driver's EvtDriverDeviceAdd callback function. For example code that shows how to register, see SmcDeviceInitConfig.
The client driver prepares a request buffer that contains the function code to eject the card from the reader and sends the request to the card.
Requirements
Target platform |
Desktop |
Header |
SmcCx.h on Windows 10 |
See also