boostorg / winapi

Windows API declarations without <windows.h>, for internal Boost use.
63 stars 55 forks source link

added ReadFile #26

Closed klemens-morgenstern closed 8 years ago

klemens-morgenstern commented 8 years ago

Hi Andrey,

I just added the ReadFile function, WriteFile was already in. Test passes and it's rather trivial.

Thx,

Klemens

klemens-morgenstern commented 8 years ago

Also added ERROR_BROKEN_PIPE constant to readfile. I added it there, not in pipes.hpp because it is an error code provided by ReadFile / WriteFile.

klemens-morgenstern commented 8 years ago

Alright, I think that's all for this part. I have the environment in seperate header, which are currently in my repository, So that PR should be finished.

Lastique commented 8 years ago

I added ReadFile but not ERROR_BROKEN_PIPE. I intend to add error codes in a separate header, but haven't got around to do it.

klemens-morgenstern commented 8 years ago

Ok, thanks.