home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / WIN_NT / LMAPI.ZIP / H / LMREMUTL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1993-04-07  |  1.7 KB  |  79 lines

  1. /*
  2.  
  3. Copyright (c) 1991-1993  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     lmremutl.h
  8.  
  9. Abstract:
  10.  
  11.     This file contains structures, function prototypes, and definitions
  12.     for the NetRemote API.
  13.  
  14. Environment:
  15.  
  16.     User Mode - Win32
  17.     Portable to any flat, 32-bit environment.  (Uses Win32 typedefs.)
  18.     Requires ANSI C extensions: slash-slash comments, long external names.
  19.  
  20. --*/
  21.  
  22. #ifndef _LMREMUTL_
  23. #define _LMREMUTL_
  24.  
  25. //
  26. // Function Prototypes
  27. //
  28.  
  29. NET_API_STATUS NET_API_FUNCTION
  30. NetRemoteTOD (
  31.     IN LPTSTR UncServerName,
  32.     OUT LPBYTE *BufferPtr
  33.     );
  34.  
  35. NET_API_STATUS NET_API_FUNCTION
  36. NetRemoteComputerSupports(
  37.     IN LPTSTR UncServerName OPTIONAL,   // Must start with "\\".
  38.     IN DWORD OptionsWanted,             // Set SUPPORTS_ bits wanted.
  39.     OUT LPDWORD OptionsSupported        // Supported features, masked.
  40.     );
  41.  
  42. //
  43. //  Data Structures
  44. //
  45.  
  46. typedef struct _TIME_OF_DAY_INFO {
  47.     DWORD      tod_elapsedt;
  48.     DWORD      tod_msecs;
  49.     DWORD      tod_hours;
  50.     DWORD      tod_mins;
  51.     DWORD      tod_secs;
  52.     DWORD      tod_hunds;
  53.     LONG       tod_timezone;
  54.     DWORD      tod_tinterval;
  55.     DWORD      tod_day;
  56.     DWORD      tod_month;
  57.     DWORD      tod_year;
  58.     DWORD      tod_weekday;
  59. } TIME_OF_DAY_INFO, *PTIME_OF_DAY_INFO, *LPTIME_OF_DAY_INFO;
  60.  
  61. //
  62. // Special Values and Constants
  63. //
  64.  
  65. //
  66. // Mask bits for use with NetRemoteComputerSupports:
  67. //
  68.  
  69. #define SUPPORTS_REMOTE_ADMIN_PROTOCOL  0x00000002L
  70. #define SUPPORTS_RPC                    0x00000004L
  71. #define SUPPORTS_SAM_PROTOCOL           0x00000008L
  72. #define SUPPORTS_UNICODE                0x00000010L
  73. #define SUPPORTS_LOCAL                  0x00000020L
  74. #define SUPPORTS_ANY                    0xFFFFFFFFL
  75.  
  76. #endif //_LMREMUTL_
  77.  
  78. 
  79.