SmcCxSetSmartcardBufferSize function
Sets the number of bytes to allocate for the buffer.
Syntax
FORCEINLINE NTSTATUS SmcCxSetSmartcardBufferSize(
_In_ WDFDEVICE Device,
_In_ ULONG BufferSize
);
Parameters
Device [in]
Handle to the framework device object.BufferSize [in]
The number of bytes to allocate for the buffer.
Return value
If the function encounters no errors, it must return STATUS_SUCCESS. Otherwise one of the NTSTATUS values.
Remarks
If the BufferSize value is less than MIN_BUFFER_SIZE (288 bytes), the method allocates 288 bytes.
Requirements
Target platform |
Desktop |
Header |
SmcCx.h on Windows 10 |