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 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 #ifndef DESC_CHAR_UNICODE 14 typedef CHAR DESC_CHAR; 15 #else 16 typedef WCHAR DESC_CHAR; 17 #endif 18 19 typedef DESC_CHAR *LPDESC; 20 21 NET_API_STATUS WINAPI NetRemoteTOD(LPCWSTR UncServerName,LPBYTE *BufferPtr); 22 NET_API_STATUS WINAPI NetRemoteComputerSupports(LPCWSTR UncServerName,DWORD OptionsWanted,LPDWORD OptionsSupported); 23 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,...); 24 25 typedef struct _TIME_OF_DAY_INFO { 26 DWORD tod_elapsedt; 27 DWORD tod_msecs; 28 DWORD tod_hours; 29 DWORD tod_mins; 30 DWORD tod_secs; 31 DWORD tod_hunds; 32 LONG tod_timezone; 33 DWORD tod_tinterval; 34 DWORD tod_day; 35 DWORD tod_month; 36 DWORD tod_year; 37 DWORD tod_weekday; 38 } TIME_OF_DAY_INFO,*PTIME_OF_DAY_INFO,*LPTIME_OF_DAY_INFO; 39 40 #define SUPPORTS_REMOTE_ADMIN_PROTOCOL __MSABI_LONG(0x00000002) 41 #define SUPPORTS_RPC __MSABI_LONG(0x00000004) 42 #define SUPPORTS_SAM_PROTOCOL __MSABI_LONG(0x00000008) 43 #define SUPPORTS_UNICODE __MSABI_LONG(0x00000010) 44 #define SUPPORTS_LOCAL __MSABI_LONG(0x00000020) 45 #define SUPPORTS_ANY __MSABI_LONG(0xFFFFFFFF) 46 47 #define NO_PERMISSION_REQUIRED 0x00000001 48 #define ALLOCATE_RESPONSE 0x00000002 49 #define USE_SPECIFIC_TRANSPORT 0x80000000 50 51 #ifdef __cplusplus 52 } 53 #endif 54 #endif 55