1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 //! This file contains structures, function prototypes, and definitions for the NetRemote API
7 use shared
::lmcons
::NET_API_STATUS
;
8 use shared
::minwindef
::{DWORD, LPBYTE, LPDWORD}
;
9 use um
::winnt
::{CHAR, LONG, LPCWSTR, LPSTR}
;
10 pub type DESC_CHAR
= CHAR
;
11 pub type LPDESC
= LPSTR
;
14 UncServerName
: LPCWSTR
,
15 BufferPtr
: *mut LPBYTE
,
17 pub fn NetRemoteComputerSupports(
18 UncServerName
: LPCWSTR
,
20 OptionsSupported
: LPDWORD
,
26 UncServerName
: LPCWSTR
,
27 ParmDescString
: LPDESC
,
37 STRUCT
!{struct TIME_OF_DAY_INFO
{
51 pub type PTIME_OF_DAY_INFO
= *mut TIME_OF_DAY_INFO
;
52 pub type LPTIME_OF_DAY_INFO
= *mut TIME_OF_DAY_INFO
;
53 pub const SUPPORTS_REMOTE_ADMIN_PROTOCOL
: DWORD
= 0x00000002;
54 pub const SUPPORTS_RPC
: DWORD
= 0x00000004;
55 pub const SUPPORTS_SAM_PROTOCOL
: DWORD
= 0x00000008;
56 pub const SUPPORTS_UNICODE
: DWORD
= 0x00000010;
57 pub const SUPPORTS_LOCAL
: DWORD
= 0x00000020;
58 pub const SUPPORTS_ANY
: DWORD
= 0xFFFFFFFF;
59 pub const NO_PERMISSION_REQUIRED
: DWORD
= 0x00000001;
60 pub const ALLOCATE_RESPONSE
: DWORD
= 0x00000002;
61 pub const USE_SPECIFIC_TRANSPORT
: DWORD
= 0x80000000;