| 1 | /* $Id: wnet.h,v 1.1 1999-05-24 20:19:23 ktk Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* Definitions for windows network service | 
|---|
| 4 | * | 
|---|
| 5 | * Copyright 1997 Andreas Mohr | 
|---|
| 6 | */ | 
|---|
| 7 | #ifndef __WINE_WNET_H | 
|---|
| 8 | #define __WINE_WNET_H | 
|---|
| 9 |  | 
|---|
| 10 | #define WNDN_MKDIR  1 | 
|---|
| 11 | #define WNDN_RMDIR  2 | 
|---|
| 12 | #define WNDN_MVDIR  3 | 
|---|
| 13 |  | 
|---|
| 14 | #define WN_SUCCESS                              0x0000 | 
|---|
| 15 | #define WN_NOT_SUPPORTED                        0x0001 | 
|---|
| 16 | #define WN_NET_ERROR                            0x0002 | 
|---|
| 17 | #define WN_MORE_DATA                            0x0003 | 
|---|
| 18 | #define WN_BAD_POINTER                          0x0004 | 
|---|
| 19 | #define WN_BAD_VALUE                            0x0005 | 
|---|
| 20 | #define WN_BAD_PASSWORD                         0x0006 | 
|---|
| 21 | #define WN_ACCESS_DENIED                        0x0007 | 
|---|
| 22 | #define WN_FUNCTION_BUSY                        0x0008 | 
|---|
| 23 | #define WN_WINDOWS_ERROR                        0x0009 | 
|---|
| 24 | #define WN_BAD_USER                             0x000A | 
|---|
| 25 | #define WN_OUT_OF_MEMORY                        0x000B | 
|---|
| 26 | #define WN_CANCEL                               0x000C | 
|---|
| 27 | #define WN_CONTINUE                             0x000D | 
|---|
| 28 | #define WN_NOT_CONNECTED                        0x0030 | 
|---|
| 29 | #define WN_OPEN_FILES                           0x0031 | 
|---|
| 30 | #define WN_BAD_NETNAME                          0x0032 | 
|---|
| 31 | #define WN_BAD_LOCALNAME                        0x0033 | 
|---|
| 32 | #define WN_ALREADY_CONNECTED                    0x0034 | 
|---|
| 33 | #define WN_DEVICE_ERROR                         0x0035 | 
|---|
| 34 | #define WN_CONNECTION_CLOSED                    0x0036 | 
|---|
| 35 | #define WN_NO_NETWORK                           ERROR_NO_NETWORK | 
|---|
| 36 |  | 
|---|
| 37 | #define WNNC_SPEC_VERSION                       0x01 | 
|---|
| 38 | #define WNNC_NET_TYPE                           0x02 | 
|---|
| 39 | #define WNNC_DRIVER_VERSION                     0x03 | 
|---|
| 40 | #define WNNC_USER                               0x04 | 
|---|
| 41 | /*#define WNNC_5                                0x05*/ | 
|---|
| 42 | #define WNNC_CONNECTION                         0x06 | 
|---|
| 43 | #define WNNC_PRINTING                           0x07 | 
|---|
| 44 | #define WNNC_DIALOG                             0x08 | 
|---|
| 45 | #define WNNC_ADMIN                              0x09 | 
|---|
| 46 | #define WNNC_ERROR                              0x0a | 
|---|
| 47 | #define WNNC_PRINTMGREXT                        0x0b | 
|---|
| 48 |  | 
|---|
| 49 | #define WNNC_NET_NONE                           0x0 | 
|---|
| 50 | #define WNNC_NET_MSNet                          0x1 | 
|---|
| 51 | #define WNNC_NET_LanMan                         0x2 | 
|---|
| 52 | #define WNNC_NET_NetWare                        0x3 | 
|---|
| 53 | #define WNNC_NET_Vines                          0x4 | 
|---|
| 54 | #define WNNC_NET_10NET                          0x5 | 
|---|
| 55 | #define WNNC_NET_Locus                          0x6 | 
|---|
| 56 | #define WNNC_NET_SUN_PC_NFS                     0x7 | 
|---|
| 57 | #define WNNC_NET_LANstep                        0x8 | 
|---|
| 58 | #define WNNC_NET_9TILES                         0x9 | 
|---|
| 59 | #define WNNC_NET_LANtastic                      0xa | 
|---|
| 60 | #define WNNC_NET_AS400                          0xb | 
|---|
| 61 | #define WNNC_NET_FTP_NFS                        0xc | 
|---|
| 62 | #define WNNC_NET_PATHWORKS                      0xd | 
|---|
| 63 | #define WNNC_NET_LifeNet                        0xe | 
|---|
| 64 | #define WNNC_NET_POWERLan                       0xf | 
|---|
| 65 | #define WNNC_NET_MultiNet                       0x8000 | 
|---|
| 66 |  | 
|---|
| 67 | #define WNNC_SUBNET_NONE                        0x00 | 
|---|
| 68 | #define WNNC_SUBNET_MSNet                       0x01 | 
|---|
| 69 | #define WNNC_SUBNET_LanMan                      0x02 | 
|---|
| 70 | #define WNNC_SUBNET_WinWorkgroups               0x04 | 
|---|
| 71 | #define WNNC_SUBNET_NetWare                     0x08 | 
|---|
| 72 | #define WNNC_SUBNET_Vines                       0x10 | 
|---|
| 73 | #define WNNC_SUBNET_Other                       0x80 | 
|---|
| 74 |  | 
|---|
| 75 | #define WNNC_CON_AddConnection                  0x0001 | 
|---|
| 76 | #define WNNC_CON_CancelConnection               0x0002 | 
|---|
| 77 | #define WNNC_CON_GetConnections                 0x0004 | 
|---|
| 78 | #define WNNC_CON_AutoConnect                    0x0008 | 
|---|
| 79 | #define WNNC_CON_BrowseDialog                   0x0010 | 
|---|
| 80 | #define WNNC_CON_RestoreConnection              0x0020 | 
|---|
| 81 |  | 
|---|
| 82 | #define WNNC_PRT_OpenJob                        0x0002 | 
|---|
| 83 | #define WNNC_PRT_CloseJob                       0x0004 | 
|---|
| 84 | #define WNNC_PRT_HoldJob                        0x0010 | 
|---|
| 85 | #define WNNC_PRT_ReleaseJob                     0x0020 | 
|---|
| 86 | #define WNNC_PRT_CancelJob                      0x0040 | 
|---|
| 87 | #define WNNC_PRT_SetJobCopies                   0x0080 | 
|---|
| 88 | #define WNNC_PRT_WatchQueue                     0x0100 | 
|---|
| 89 | #define WNNC_PRT_UnwatchQueue                   0x0200 | 
|---|
| 90 | #define WNNC_PRT_LockQueueData                  0x0400 | 
|---|
| 91 | #define WNNC_PRT_UnlockQueueData                0x0800 | 
|---|
| 92 | #define WNNC_PRT_ChangeMsg                      0x1000 | 
|---|
| 93 | #define WNNC_PRT_AbortJob                       0x2000 | 
|---|
| 94 | #define WNNC_PRT_NoArbitraryLock                0x4000 | 
|---|
| 95 | #define WNNC_PRT_WriteJob                       0x8000 | 
|---|
| 96 |  | 
|---|
| 97 | #define WNNC_DLG_DeviceMode                     0x0001 | 
|---|
| 98 | #define WNNC_DLG_BrowseDialog                   0x0002 | 
|---|
| 99 | #define WNNC_DLG_ConnectDialog                  0x0004 | 
|---|
| 100 | #define WNNC_DLG_DisconnectDialog               0x0008 | 
|---|
| 101 | #define WNNC_DLG_ViewQueueDialog                0x0010 | 
|---|
| 102 | #define WNNC_DLG_PropertyDialog                 0x0020 | 
|---|
| 103 | #define WNNC_DLG_ConnectionDialog               0x0040 | 
|---|
| 104 | #define WNNC_DLG_PrinterConnectDialog           0x0080 | 
|---|
| 105 | #define WNNC_DLG_SharesDialog                   0x0100 | 
|---|
| 106 | #define WNNC_DLG_ShareAsDialog                  0x0200 | 
|---|
| 107 |  | 
|---|
| 108 | #define WNNC_ADM_GetDirectoryType               0x0001 | 
|---|
| 109 | #define WNNC_ADM_DirectoryNotify                0x0002 | 
|---|
| 110 | #define WNNC_ADM_LongNames                      0x0004 | 
|---|
| 111 | #define WNNC_ADM_SetDefaultDrive                0x0008 | 
|---|
| 112 |  | 
|---|
| 113 | #define WNNC_ERR_GetError                       0x0001 | 
|---|
| 114 | #define WNNC_ERR_GetErrorText                   0x0002 | 
|---|
| 115 |  | 
|---|
| 116 | #define WNDT_NORMAL                             0x0 | 
|---|
| 117 | #define WNDT_NETWORK                            0x1 | 
|---|
| 118 |  | 
|---|
| 119 | #define WIN30X                                  0x0 | 
|---|
| 120 | #define WIN31X                                  0x1 | 
|---|
| 121 | #define WIN311X                                 0x2 | 
|---|
| 122 | #define WIN95X                                  0x3 | 
|---|
| 123 | #define WINNTX                                  0x4 | 
|---|
| 124 | #define WINOTHERX                               0x5 | 
|---|
| 125 | #define WIN32X                                  0x6 | 
|---|
| 126 |  | 
|---|
| 127 | typedef LPVOID  LPNETRESOURCE16; | 
|---|
| 128 |  | 
|---|
| 129 | #endif  /* __WINE_WNET_H */ | 
|---|