Last change
on this file since 1112 was 1046, checked in by alloc, 8 years ago |
Daodan: Added Windows MinGW and build batch file
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1046] | 1 | #ifndef _LMREMUTL_H
|
---|
| 2 | #define _LMREMUTL_H
|
---|
| 3 | #if __GNUC__ >=3
|
---|
| 4 | #pragma GCC system_header
|
---|
| 5 | #endif
|
---|
| 6 |
|
---|
| 7 | #ifdef __cplusplus
|
---|
| 8 | extern "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
|
---|
| 20 | typedef CHAR DESC_CHAR;
|
---|
| 21 | #else
|
---|
| 22 | typedef WCHAR DESC_CHAR;
|
---|
| 23 | #endif
|
---|
| 24 | typedef DESC_CHAR *LPDESC;
|
---|
| 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 | NET_API_STATUS WINAPI NetRemoteTOD(LPCWSTR,PBYTE*);
|
---|
| 40 | NET_API_STATUS WINAPI NetRemoteComputerSupports(LPCWSTR,DWORD,PDWORD);
|
---|
| 41 | NET_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.