Home > Software engineering >  When using the getqueuedcompletionstatus don't jam, returns the error code is 998
When using the getqueuedcompletionstatus don't jam, returns the error code is 998

Time:11-22

Is a great god, when I create the completion port, the returned handle is 0 x000000fc, and turn it into the first parameter of the getqueuedcompletionstatus, execute the getqueuedcompletionstatus function, the program can't block waiting for I/o operation to complete, but directly performed down, call getlasterror found getqueuedcompletionstatus return error code is 998, a great god, please give directions, what reason is this?

CodePudding user response:

In reference to the MSDN example UNBUFCP2. C



CodePudding user response:

998 memory is null and void, whether you use a local variable, automatically released out of the life cycle

CodePudding user response:

998: Invalid access to memory location.
All parameters of the under Debug and see you whether effective?
  • Related