I am trying to use the SetCommTimeouts() with my ReadFile and WriteFile() calls from handles returned from CreatePipe(). When i try to use this function it returns FALSE and when i use the GetLastError() function it gives a ERROR_INVALID_FUNCTION ... I have found no way for this api function to be called successfully. Can someone tell me what is going on?


Oh, and i am using Win2K sp4, .Net 2003.