blob: dee89ad3574163eec35844a7784d92d0707a04c6 [file] [log] [blame]
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _LMREMUTL_
#define _LMREMUTL_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef DESC_CHAR_UNICODE
typedef CHAR DESC_CHAR;
#else
typedef WCHAR DESC_CHAR;
#endif
typedef DESC_CHAR *LPDESC;
NET_API_STATUS WINAPI NetRemoteTOD(LPCWSTR UncServerName,LPBYTE *BufferPtr);
NET_API_STATUS WINAPI NetRemoteComputerSupports(LPCWSTR UncServerName,DWORD OptionsWanted,LPDWORD OptionsSupported);
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,...);
typedef struct _TIME_OF_DAY_INFO {
DWORD tod_elapsedt;
DWORD tod_msecs;
DWORD tod_hours;
DWORD tod_mins;
DWORD tod_secs;
DWORD tod_hunds;
LONG tod_timezone;
DWORD tod_tinterval;
DWORD tod_day;
DWORD tod_month;
DWORD tod_year;
DWORD tod_weekday;
} TIME_OF_DAY_INFO,*PTIME_OF_DAY_INFO,*LPTIME_OF_DAY_INFO;
#define SUPPORTS_REMOTE_ADMIN_PROTOCOL __MSABI_LONG(0x00000002)
#define SUPPORTS_RPC __MSABI_LONG(0x00000004)
#define SUPPORTS_SAM_PROTOCOL __MSABI_LONG(0x00000008)
#define SUPPORTS_UNICODE __MSABI_LONG(0x00000010)
#define SUPPORTS_LOCAL __MSABI_LONG(0x00000020)
#define SUPPORTS_ANY __MSABI_LONG(0xFFFFFFFF)
#define NO_PERMISSION_REQUIRED 0x00000001
#define ALLOCATE_RESPONSE 0x00000002
#define USE_SPECIFIC_TRANSPORT 0x80000000
#ifdef __cplusplus
}
#endif
#endif