#include <OW32/windows.h>
#include <OW32/OW32Libs.h>
Go to the source code of this file.
Namespaces | |
| namespace | OW32 | 
Classes | |
| class | OW32::CIoCompletion | 
| Model of a function in a class that handles IOCP notifications.  More... | |
Defines | |
| #define | DLL_IMPLEMENT_IO_COMPLETION(className, declspec) | 
| Macro that implementions I/O completion with an OVERLAPPEDPLUS structure specific to the class, declared with the __declspec(dllexport) passed in.   | |
| #define | IMPLEMENT_IO_COMPLETION(className) | 
| Macro that implementions I/O completion with an OVERLAPPEDPLUS structure specific to the class.   | |
      
  | 
  
| 
 Value: typedef void (className::*CompletionFn)(BOOL bRet, DWORD dwBytes, LPOVERLAPPED lpOS); \ \ \ struct declspec OVERLAPPEDPLUS : public OVERLAPPED \ { \ \ CompletionFn lpCompletion; \ }; \ \ virtual void OnIoCompletion(BOOL bRet, DWORD dwBytes, LPOVERLAPPED lpOS) \ { \ OVERLAPPEDPLUS* lpOSPlus = (OVERLAPPEDPLUS*)lpOS; \ (this->*(lpOSPlus->lpCompletion))(bRet, dwBytes, lpOS); \ } 
  | 
  
      
  | 
  
| 
 Value: typedef void (className::*CompletionFn)(BOOL bRet, DWORD dwBytes, LPOVERLAPPED lpOS); \ \ \ struct OVERLAPPEDPLUS : public OVERLAPPED \ { \ \ CompletionFn lpCompletion; \ }; \ \ virtual void OnIoCompletion(BOOL bRet, DWORD dwBytes, LPOVERLAPPED lpOS) \ { \ OVERLAPPEDPLUS* lpOSPlus = (OVERLAPPEDPLUS*)lpOS; \ (this->*(lpOSPlus->lpCompletion))(bRet, dwBytes, lpOS); \ } 
  | 
  
 1.3.9.1