Browse Subversion Repository
Annotation of /branches/ttcomtester/teraterm/teraterm/WSAAsyncGetAddrInfo.h
Parent Directory
| Revision Log
| 1 |
maya |
3227 |
/* |
| 2 |
|
|
* WSAAsyncGetAddrInfo.h -- declarations for WSAAsyncGetAddrInfo() |
| 3 |
|
|
* Copyright(C) 2000-2003 Jun-ya Kato <kato@win6.jp> |
| 4 |
|
|
*/ |
| 5 |
|
|
#ifndef __WSAASYNCGETADDRINFO__ |
| 6 |
|
|
#define __WSAASYNCGETADDRINFO__ |
| 7 |
|
|
|
| 8 |
|
|
#include <windows.h> |
| 9 |
|
|
#include <winsock2.h> |
| 10 |
|
|
#include <ws2tcpip.h> |
| 11 |
|
|
|
| 12 |
|
|
struct getaddrinfo_args { |
| 13 |
|
|
HWND hWnd; |
| 14 |
|
|
unsigned int wMsg; |
| 15 |
doda |
6801 |
char *hostname; |
| 16 |
|
|
char *portname; |
| 17 |
yutakapon |
6344 |
struct addrinfo hints; |
| 18 |
doda |
6801 |
struct addrinfo **res; |
| 19 |
|
|
HANDLE *lpHandle; |
| 20 |
maya |
3227 |
}; |
| 21 |
|
|
|
| 22 |
doda |
6801 |
HANDLE PASCAL WSAAsyncGetAddrInfo(HWND hWnd, |
| 23 |
maya |
3227 |
unsigned int wMsg, |
| 24 |
doda |
6801 |
const char *hostname, |
| 25 |
|
|
const char *portname, |
| 26 |
|
|
struct addrinfo *hints, |
| 27 |
|
|
struct addrinfo **res); |
| 28 |
maya |
3227 |
|
| 29 |
|
|
#endif /* __WSAASYNCGETADDRINFO__ */ |
|