Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

55 lines
1.2 KiB

/**********************************************************************/
/** Microsoft Windows **/
/** Copyright(c) Microsoft Corp., 1993 **/
/**********************************************************************/
/*
wscntl.h
Semi-public include file for the WsControl API in the Chicago/
Snowball Windows Sockets implementation.
FILE HISTORY:
KeithMo 04-Feb-1994 Created.
*/
#ifndef _WSCNTL_H_
#define _WSCNTL_H_
//
// Function prototypes.
//
DWORD
PASCAL FAR
WsControl(
DWORD Protocol,
DWORD Action,
LPVOID InputBuffer,
LPDWORD InputBufferLength,
LPVOID OutputBuffer,
LPDWORD OutputBufferLength
);
typedef DWORD (PASCAL FAR * LPWSCONTROL)( DWORD Protocol,
DWORD Action,
LPVOID InputBuffer,
LPDWORD InputBufferLength,
LPVOID OutputBuffer,
LPDWORD OutputBufferLength );
//
// TCP/IP action codes.
//
#define WSCNTL_TCPIP_QUERY_INFO 0x00000000
#define WSCNTL_TCPIP_SET_INFO 0x00000001
#endif // _WSCNTL_H_