Leaked source code of windows server 2003
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.

47 lines
2.2 KiB

  1. #ifndef _multinet_h_
  2. #define _multinet_h_
  3. //////////////////////////////////////////////////////////////////////////////
  4. // Microsoft LAN Manager //
  5. // Copyright(c) Microsoft Corp., 1992 //
  6. //////////////////////////////////////////////////////////////////////////////
  7. //////////////////////////////////////////////////////////////////////////////
  8. // //
  9. // COMPONENT: Windows Dual Network DLL/Winball DLL. //
  10. // //
  11. // FILE: MULTINET.H //
  12. // //
  13. // PURPOSE: General C include file to be included by modules that use //
  14. // the multi-network extensions to the WINNET interface. //
  15. // //
  16. // REVISION HISTORY: //
  17. // lens 20-Apr-1992 First revision for Winball. //
  18. // //
  19. //////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Return status codes from device/resource/file utilities.
  22. //
  23. #define DN_PT_UNKNOWN 0 /* Unknown or bad device or resource syntax */
  24. #define DN_PT_PRINTER 1 /* Device is a printer */
  25. #define DN_PT_DISK 2 /* Device is a disk drive */
  26. #define DN_PT_UNC 3 /* Resource is a UNC name */
  27. #define DN_PT_ALIAS 4 /* Resource is an alias name */
  28. #define DN_PT_NETWARE 5 /* Resource follows NetWare convention */
  29. #define DN_PT_FILELISTDEVICE 6 /* Device is first entry in file list */
  30. //
  31. // Masks for individual network information
  32. //
  33. #define MNM_NET_PRIMARY 0x0001 /* Network is primary network (Windows network) */
  34. //
  35. // Function prototypes for multi-net extensions
  36. //
  37. HANDLE FAR PASCAL __export MNetGetLastTarget ( void );
  38. WORD FAR PASCAL __export MNetSetNextTarget ( HANDLE hNetwork );
  39. WORD FAR PASCAL __export MNetNetworkEnum ( HANDLE FAR *hNetwork );
  40. WORD FAR PASCAL __export MNetGetNetInfo ( HANDLE hNetwork, LPWORD lpwNetInfo, LPSTR lpszButton, LPINT lpcbButton, LPHANDLE lphInstance );
  41. #endif /* _multinet_h_ */