Ignore:
Timestamp:
Dec 2, 1999, 4:22:05 PM (26 years ago)
Author:
achimha
Message:

async wsock fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wsock32/new/relaywin.h

    r1933 r1940  
    1 /* $Id: relaywin.h,v 1.2 1999-12-02 07:47:26 phaller Exp $ */
     1/* $Id: relaywin.h,v 1.3 1999-12-02 15:22:05 achimha Exp $ */
    22
    33/*
     
    3636 *****************************************************************************/
    3737
     38/* these are the request types so we can interpret the messages and convert the results */
     39#define ASYNCREQUEST_SELECT 0
     40#define ASYNCREQUEST_GETHOSTBYNAME 1
     41
    3842typedef struct tagHwndMsgPair
    3943{
    4044  HWND  hwnd;  /* target window            */
    4145  ULONG ulMsg; /* the message code to send */
     46  ULONG ulRequestType; /* the type of request that this belongs to */
     47  PVOID pvUserData1; /* request specific data field */
     48  PVOID pvUserData2; /* request specific data field */
    4249} HWNDMSGPAIR, *PHWNDMSGPAIR;
    4350
     
    4653 *****************************************************************************/
    4754
    48 ULONG        RelayAlloc     (HWND  hwnd, ULONG ulMsg);
     55ULONG RelayAlloc(HWND hwnd, ULONG ulMsg, ULONG ulRequestType,
     56                 PVOID pvUserData1 = 0, PVOID pvUserData2 = 0);
    4957ULONG        RelayFree      (ULONG ulID);
    5058ULONG        RelayFreeByHwnd(HWND  hwnd);
Note: See TracChangeset for help on using the changeset viewer.