Annotation of mstools/samples/wsock/wsock.h, revision 1.1

1.1     ! root        1: 
        !             2: /******************************************************************************\
        !             3: *       This is a part of the Microsoft Source Code Samples. 
        !             4: *       Copyright (C) 1993 Microsoft Corporation.
        !             5: *       All rights reserved. 
        !             6: *       This source code is only intended as a supplement to 
        !             7: *       Microsoft Development Tools and/or WinHelp documentation.
        !             8: *       See these sources for detailed information regarding the 
        !             9: *       Microsoft samples programs.
        !            10: \******************************************************************************/
        !            11: 
        !            12: #define WSA_ACCEPT   (WM_USER + 0)
        !            13: #define WSA_READ     (WM_USER + 1)
        !            14: 
        !            15: #define IDM_ABOUT 100
        !            16: #define IDM_HOSTNAME  102
        !            17: #define IDM_LISTEN  103
        !            18: #define IDM_CONNECT  104
        !            19: #define IDM_ALISTEN  105
        !            20: #define IDM_CANCEL   106
        !            21: #define IDM_TLISTEN  107
        !            22: #define IDM_SENDTCP  108
        !            23: 
        !            24: /*
        !            25: *   Structure passed into the accept thread
        !            26: */
        !            27: typedef struct {
        !            28:    int    nThread;  // Thread number.
        !            29:    HWND  hWnd;
        !            30:    } THREADPACK, *PTHREADPACK;
        !            31: 
        !            32: 
        !            33:  
        !            34: BOOL InitApplication(HANDLE);
        !            35: BOOL InitInstance(HANDLE, int);
        !            36: void SetConnectMenus( HWND );
        !            37: LONG APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
        !            38: LRESULT APIENTRY About(HWND, UINT, UINT, LONG);
        !            39: LRESULT APIENTRY GetHostName(HWND, UINT, UINT, LONG);
        !            40: LRESULT APIENTRY DisplayHostEnt(HWND, UINT, UINT, LONG);
        !            41: LRESULT APIENTRY GetTcpPort(HWND, UINT, UINT, LONG);
        !            42: LRESULT APIENTRY GetSendString(HWND, UINT, UINT, LONG);
        !            43: 
        !            44: /* GLOBAL VARIABLES ======================================*/
        !            45: PHOSTENT phe;
        !            46: 
        !            47: #define IDD_EDIT                    201
        !            48: #define IDD_TEXT                    202
        !            49: #define IDD_ALIAS                   203
        !            50: #define IDD_HOSTNAME                206
        !            51: #define IDD_LBALIAS                                             207
        !            52: #define IDD_LBADDR                                              208
        !            53: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.