lmremutl.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _LMREMUTL_
  7. #define _LMREMUTL_
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #ifndef DESC_CHAR_UNICODE
  12. typedef CHAR DESC_CHAR;
  13. #else
  14. typedef WCHAR DESC_CHAR;
  15. #endif
  16. typedef DESC_CHAR *LPDESC;
  17. NET_API_STATUS WINAPI NetRemoteTOD(LPCWSTR UncServerName,LPBYTE *BufferPtr);
  18. NET_API_STATUS WINAPI NetRemoteComputerSupports(LPCWSTR UncServerName,DWORD OptionsWanted,LPDWORD OptionsSupported);
  19. NET_API_STATUS __cdecl RxRemoteApi(DWORD ApiNumber,LPCWSTR UncServerName,LPDESC ParmDescString,LPDESC DataDesc16,LPDESC DataDesc32,LPDESC DataDescSmb,LPDESC AuxDesc16,LPDESC AuxDesc32,LPDESC AuxDescSmb,DWORD Flags,...);
  20. typedef struct _TIME_OF_DAY_INFO {
  21. DWORD tod_elapsedt;
  22. DWORD tod_msecs;
  23. DWORD tod_hours;
  24. DWORD tod_mins;
  25. DWORD tod_secs;
  26. DWORD tod_hunds;
  27. LONG tod_timezone;
  28. DWORD tod_tinterval;
  29. DWORD tod_day;
  30. DWORD tod_month;
  31. DWORD tod_year;
  32. DWORD tod_weekday;
  33. } TIME_OF_DAY_INFO,*PTIME_OF_DAY_INFO,*LPTIME_OF_DAY_INFO;
  34. #define SUPPORTS_REMOTE_ADMIN_PROTOCOL __MSABI_LONG(0x00000002)
  35. #define SUPPORTS_RPC __MSABI_LONG(0x00000004)
  36. #define SUPPORTS_SAM_PROTOCOL __MSABI_LONG(0x00000008)
  37. #define SUPPORTS_UNICODE __MSABI_LONG(0x00000010)
  38. #define SUPPORTS_LOCAL __MSABI_LONG(0x00000020)
  39. #define SUPPORTS_ANY __MSABI_LONG(0xFFFFFFFF)
  40. #define NO_PERMISSION_REQUIRED 0x00000001
  41. #define ALLOCATE_RESPONSE 0x00000002
  42. #define USE_SPECIFIC_TRANSPORT 0x80000000
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif