1 #ifndef _LMREMUTL_H 2 #define _LMREMUTL_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 #define SUPPORTS_REMOTE_ADMIN_PROTOCOL 2 8 #define SUPPORTS_RPC 4 9 #define SUPPORTS_SAM_PROTOCOL 8 10 #define SUPPORTS_UNICODE 16 11 #define SUPPORTS_LOCAL 32 12 #define SUPPORTS_ANY 0xFFFFFFFF 13 #define NO_PERMISSION_REQUIRED 1 14 #define ALLOCATE_RESPONSE 2 15 #define USE_SPECIFIC_TRANSPORT 0x80000000 16 #ifndef DESC_CHAR_UNICODE 17 typedef CHAR DESC_CHAR; 18 #else 19 typedef WCHAR DESC_CHAR; 20 #endif 21 typedef DESC_CHAR *LPDESC; 22 typedef struct _TIME_OF_DAY_INFO { 23 DWORD tod_elapsedt; 24 DWORD tod_msecs; 25 DWORD tod_hours; 26 DWORD tod_mins; 27 DWORD tod_secs; 28 DWORD tod_hunds; 29 LONG tod_timezone; 30 DWORD tod_tinterval; 31 DWORD tod_day; 32 DWORD tod_month; 33 DWORD tod_year; 34 DWORD tod_weekday; 35 } TIME_OF_DAY_INFO,*PTIME_OF_DAY_INFO,*LPTIME_OF_DAY_INFO; 36 NET_API_STATUS WINAPI NetRemoteTOD(LPCWSTR,PBYTE*); 37 NET_API_STATUS WINAPI NetRemoteComputerSupports(LPCWSTR,DWORD,PDWORD); 38 NET_API_STATUS RxRemoteApi(DWORD,LPCWSTR,LPDESC,LPDESC,LPDESC,LPDESC,LPDESC,LPDESC,LPDESC,DWORD,... ); 39 #ifdef __cplusplus 40 } 41 #endif 42 #endif 43