Annotation of ntddk/src/network/inc/media.h, revision 1.1.1.1

1.1       root        1: //***************************************************************************
                      2: //
                      3: //                     Microsoft NT Remote Access Service
                      4: //
                      5: //      Copyright (C) 1992-93 Microsft Corporation. All rights reserved.
                      6: //
                      7: //
                      8: //  Revision History:
                      9: //
                     10: //  Jul 22, 1992   J. Perry Hannah   Created
                     11: //  Aug 11, 1992   Gurdeep Pall      Added Media data structures
                     12: //
                     13: //  Description: This file contains function prototypes and structures
                     14: //               used by the interface between RAS Manager and the
                     15: //               Media DLLs.
                     16: //
                     17: //****************************************************************************
                     18: 
                     19: 
                     20: #ifndef _MEDIADLLHEADER_
                     21: #define _MEDIADLLHEADER_
                     22: 
                     23: 
                     24: 
                     25: //  General Defines  *********************************************************
                     26: //
                     27: 
                     28: #define SS_HARDWAREFAILURE  0x00000001
                     29: #define SS_LINKDROPPED      0x00000002
                     30: 
                     31: 
                     32: 
                     33: //*  Data Structures  ********************************************************
                     34: //
                     35: 
                     36: struct PortMediaInfo {
                     37: 
                     38:     CHAR          PMI_Name [MAX_PORT_NAME] ;
                     39:     CHAR          PMI_MacBindingName[MAC_NAME_SIZE] ;
                     40:     RASMAN_USAGE  PMI_Usage ;
                     41:     CHAR          PMI_DeviceType [MAX_DEVICETYPE_NAME] ;
                     42:     CHAR          PMI_DeviceName [MAX_DEVICE_NAME] ;
                     43: } ;
                     44: 
                     45: typedef struct PortMediaInfo PortMediaInfo ;
                     46: 
                     47: 
                     48: 
                     49: 
                     50: //*  API References  *********************************************************
                     51: //
                     52: 
                     53: typedef  DWORD (APIENTRY * PortEnum_t)(BYTE *, WORD *, WORD *);
                     54: 
                     55: typedef  DWORD (APIENTRY * PortOpen_t)(char *, HANDLE *, HANDLE);
                     56: 
                     57: typedef  DWORD (APIENTRY * PortClose_t)(HANDLE);
                     58: 
                     59: typedef  DWORD (APIENTRY * PortGetInfo_t)(HANDLE, TCHAR *, BYTE *, WORD *);
                     60: 
                     61: typedef  DWORD (APIENTRY * PortSetInfo_t)(HANDLE, RASMAN_PORTINFO *);
                     62: 
                     63: typedef  DWORD (APIENTRY * PortTestSignalState_t)(HANDLE, DWORD *);
                     64: 
                     65: typedef  DWORD (APIENTRY * PortConnect_t)(HANDLE, BOOL, HANDLE,
                     66:                                                         RASMAN_MACFEATURES *);
                     67: 
                     68: typedef  DWORD (APIENTRY * PortDisconnect_t)(HANDLE);
                     69: 
                     70: typedef  DWORD (APIENTRY * PortInit_t)(HANDLE);
                     71: 
                     72: typedef  DWORD (APIENTRY * PortCompressionSetInfo_t)(HANDLE,
                     73:                                                      RASMAN_MACFEATURES *);
                     74: 
                     75: typedef  DWORD (APIENTRY * PortSend_t)(HANDLE, BYTE *, DWORD, HANDLE);
                     76: 
                     77: typedef  DWORD (APIENTRY * PortReceive_t)(HANDLE, BYTE *, DWORD, DWORD,
                     78:                                                                  HANDLE);
                     79: 
                     80: typedef  DWORD (APIENTRY * PortGetStatistics_t)(HANDLE, RAS_STATISTICS *);
                     81: 
                     82: typedef  DWORD (APIENTRY * PortClearStatistics_t)(HANDLE);
                     83: 
                     84: typedef  DWORD (APIENTRY * PortGetPortState_t)(BYTE *, DWORD *);
                     85: 
                     86: typedef  DWORD (APIENTRY * PortChangeCallback_t)(HANDLE);
                     87: 
                     88: 
                     89: 
                     90: #endif

unix.superglobalmegacorp.com

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