SmcCxT1Request function
Prepares the buffer with data for use with the T=1 protocol to send to the smart card.
Syntax
NTSTATUS SmcCxT1Request(
_In_ WDFDEVICE Device,
_In_ WDFREQUEST FxRequest,
_In_ PSMARTCARD_REQUEST
);
Parameters
Device [in]
Handle to the framework device object passed.FxRequest [in]
Handle to the framework request object.PSMARTCARD_REQUEST [in]
Pointer to a caller-allocated SMARTCARD_REQUEST structure.
Return value
If the function encounters no errors, it must return STATUS_SUCCESS. Otherwise returns an appropriate NTSTATUS values. Possible values include:
Return code | Description |
---|---|
STATUS_BUFFER_TOO_SMALL | The request buffer is too large. that contains the result of the operation is NULL. |
STATUS_INSUFFICIENT_RESOURCES | The protocol-level parameters are invalid. For example, T0 request is less than 4 bytes. |
STATUS_INTERNAL_ERROR | The buffer that contains the result of the operation is NULL. |
Requirements
Target platform |
Desktop |
Header |
SmcCx.h on Windows 10 |