10#if !defined(OWL_WSKSERVM_H)
14#if defined(BI_HAS_PRAGMA_ONCE)
25#define WINSOCK_NOERROR (int)0
26#define WINSOCK_ERROR (int)SOCKET_ERROR
31#define N_MAX_SERVICE_NAME 128
32#define MSG_SERVICE_NOTIFY ((UINT)(WM_USER+302))
83 int GetLastServiceCompletion();
98 bool GetServiceRequestCompleted();
113 void ServiceCompleted(
int nError);
Encapsulates information about a service.
The TServiceManager class (and its friend class TServiceWindow) encapsulate the Winsock database func...
HANDLE LastServiceRequest
Handle of last service request.
bool LastServiceRequestCompleted
Is the last request done?
int GetLastServiceCompletion()
This function returns the last service completion.
TServiceWindow Window
Private window for catching notification.
int GetLastError()
This function returns the last error code.
bool GetServiceRequestCompleted()
This function returns true if the last service requested has been completed.
int OutstandingServiceRequests
Count of total requests done by myself that haven't completed yet.
int LastError
Last error code.
TServiceWindow is a private class created by the TServiceManager to catch notifications.
TServiceManager * ServiceManagerParent
Object to pass notifications.
DECLARE_RESPONSE_TABLE(TServiceWindow)
TWindow, derived from TEventHandler and TStreamableBase, provides window-specific behavior and encaps...
Object Windows Library (OWLNext Core)
LPARAM TParam2
Second parameter type.
WPARAM TParam1
First parameter type.
General definitions used by all ObjectWindows programs.
Base window class TWindow definition, including HWND encapsulation.
Main header of the Winsock OWL subsystem.
#define MSG_SERVICE_NOTIFY