source: Daodan/MinGW/include/lmremutl.h@ 1054

Last change on this file since 1054 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 1.1 KB
RevLine 
[1046]1#ifndef _LMREMUTL_H
2#define _LMREMUTL_H
3#if __GNUC__ >=3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10#define SUPPORTS_REMOTE_ADMIN_PROTOCOL 2
11#define SUPPORTS_RPC 4
12#define SUPPORTS_SAM_PROTOCOL 8
13#define SUPPORTS_UNICODE 16
14#define SUPPORTS_LOCAL 32
15#define SUPPORTS_ANY 0xFFFFFFFF
16#define NO_PERMISSION_REQUIRED 1
17#define ALLOCATE_RESPONSE 2
18#define USE_SPECIFIC_TRANSPORT 0x80000000
19#ifndef DESC_CHAR_UNICODE
20typedef CHAR DESC_CHAR;
21#else
22typedef WCHAR DESC_CHAR;
23#endif
24typedef DESC_CHAR *LPDESC;
25typedef 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;
39NET_API_STATUS WINAPI NetRemoteTOD(LPCWSTR,PBYTE*);
40NET_API_STATUS WINAPI NetRemoteComputerSupports(LPCWSTR,DWORD,PDWORD);
41NET_API_STATUS RxRemoteApi(DWORD,LPCWSTR,LPDESC,LPDESC,LPDESC,LPDESC,LPDESC,LPDESC,LPDESC,DWORD,... );
42#ifdef __cplusplus
43}
44#endif
45#endif
Note: See TracBrowser for help on using the repository browser.