diff options
author | Dmitry Fleytman <dfleytma@redhat.com> | 2014-04-26 23:00:38 +0300 |
---|---|---|
committer | Dmitry Fleytman <dfleytma@redhat.com> | 2014-05-11 19:26:14 +0300 |
commit | 685f7899796e33ba97671ae278aaaaa0ca3822e2 (patch) | |
tree | 8158e4181814c8595d07dc61ca20f310d3b3e132 | |
parent | 799164e90d148666cb516f8c2762d978d8a5ae1c (diff) |
UsbDk: CWdfRequest methods for read/written bytes number specification
Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
-rw-r--r-- | UsbDk/WdfRequest.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/UsbDk/WdfRequest.h b/UsbDk/WdfRequest.h index 27fc25a..efe76bb 100644 --- a/UsbDk/WdfRequest.h +++ b/UsbDk/WdfRequest.h @@ -79,6 +79,12 @@ public: void SetOutputDataLen(size_t lenBytes) { m_Information = lenBytes; } + void SetBytesWritten(size_t numBytes) + { m_Information = numBytes; } + + void SetBytesRead(size_t numBytes) + { m_Information = numBytes; } + void GetParameters(WDF_REQUEST_PARAMETERS &Params) { WDF_REQUEST_PARAMETERS_INIT(&Params); |