Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int Process::ReadStream(int stream,void* pData,uint uMaxLen) const
- {
- DWORD dwRead = 0;
- return ReadFile(GetIO()[stream],pData,uMaxLen,&dwRead,NULL) ? dwRead : -1;
- }
- int Process::WriteStream(int stream,const void* pData,uint uLen) const
- {
- DWORD dwWritten = 0;
- return WriteFile(GetIO()[stream],pData,uLen,&dwWritten,NULL) ? dwWritten : -1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement