| 1 |
::windows_targets::link!("mpr.dll" "system" fn MultinetGetConnectionPerformanceA(lpnetresource : *const NETRESOURCEA, lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT) -> u32); |
| 2 |
::windows_targets::link!("mpr.dll" "system" fn MultinetGetConnectionPerformanceW(lpnetresource : *const NETRESOURCEW, lpnetconnectinfostruct : *mut NETCONNECTINFOSTRUCT) -> u32); |
| 3 |
::windows_targets::link!("davclnt.dll" "system" fn NPAddConnection(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR) -> u32); |
| 4 |
#[cfg(feature = "Win32_Foundation")] |
| 5 |
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPAddConnection3(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS) -> u32); |
| 6 |
#[cfg(feature = "Win32_Foundation")] |
| 7 |
::windows_targets::link!("ntlanman.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPAddConnection4(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lpauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> u32); |
| 8 |
#[cfg(feature = "Win32_Foundation")] |
| 9 |
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCancelConnection(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> u32); |
| 10 |
#[cfg(feature = "Win32_Foundation")] |
| 11 |
::windows_targets::link!("ntlanman.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCancelConnection2(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL, dwflags : u32) -> u32); |
| 12 |
#[cfg(feature = "Win32_Foundation")] |
| 13 |
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPCloseEnum(henum : super::super::Foundation:: HANDLE) -> u32); |
| 14 |
#[cfg(feature = "Win32_Foundation")] |
| 15 |
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPEnumResource(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); |
| 16 |
::windows_targets::link!("davclnt.dll" "system" fn NPFormatNetworkName(lpremotename : ::windows_sys::core::PCWSTR, lpformattedname : ::windows_sys::core::PWSTR, lpnlength : *mut u32, dwflags : NETWORK_NAME_FORMAT_FLAGS, dwavecharperline : u32) -> u32); |
| 17 |
::windows_targets::link!("davclnt.dll" "system" fn NPGetCaps(ndex : u32) -> u32); |
| 18 |
::windows_targets::link!("davclnt.dll" "system" fn NPGetConnection(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnbufferlen : *mut u32) -> u32); |
| 19 |
::windows_targets::link!("ntlanman.dll" "system" fn NPGetConnection3(lplocalname : ::windows_sys::core::PCWSTR, dwlevel : u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); |
| 20 |
::windows_targets::link!("ntlanman.dll" "system" fn NPGetConnectionPerformance(lpremotename : ::windows_sys::core::PCWSTR, lpnetconnectinfo : *mut NETCONNECTINFOSTRUCT) -> u32); |
| 21 |
::windows_targets::link!("ntlanman.dll" "system" fn NPGetPersistentUseOptionsForConnection(lpremotepath : ::windows_sys::core::PCWSTR, lpreaduseoptions : *const u8, cbreaduseoptions : u32, lpwriteuseoptions : *mut u8, lpsizewriteuseoptions : *mut u32) -> u32); |
| 22 |
::windows_targets::link!("davclnt.dll" "system" fn NPGetResourceInformation(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> u32); |
| 23 |
::windows_targets::link!("davclnt.dll" "system" fn NPGetResourceParent(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); |
| 24 |
::windows_targets::link!("davclnt.dll" "system" fn NPGetUniversalName(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> u32); |
| 25 |
::windows_targets::link!("davclnt.dll" "system" fn NPGetUser(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnbufferlen : *mut u32) -> u32); |
| 26 |
#[cfg(feature = "Win32_Foundation")] |
| 27 |
::windows_targets::link!("davclnt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NPOpenEnum(dwscope : u32, dwtype : u32, dwusage : u32, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> u32); |
| 28 |
#[cfg(feature = "Win32_Foundation")] |
| 29 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection2A(lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 30 |
#[cfg(feature = "Win32_Foundation")] |
| 31 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection2W(lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 32 |
#[cfg(feature = "Win32_Foundation")] |
| 33 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection3A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 34 |
#[cfg(feature = "Win32_Foundation")] |
| 35 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection3W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 36 |
#[cfg(feature = "Win32_Foundation")] |
| 37 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 38 |
#[cfg(feature = "Win32_Foundation")] |
| 39 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 40 |
#[cfg(feature = "Win32_Foundation")] |
| 41 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnectionA(lpremotename : ::windows_sys::core::PCSTR, lppassword : ::windows_sys::core::PCSTR, lplocalname : ::windows_sys::core::PCSTR) -> super::super::Foundation:: WIN32_ERROR); |
| 42 |
#[cfg(feature = "Win32_Foundation")] |
| 43 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetAddConnectionW(lpremotename : ::windows_sys::core::PCWSTR, lppassword : ::windows_sys::core::PCWSTR, lplocalname : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: WIN32_ERROR); |
| 44 |
#[cfg(feature = "Win32_Foundation")] |
| 45 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnection2A(lpname : ::windows_sys::core::PCSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); |
| 46 |
#[cfg(feature = "Win32_Foundation")] |
| 47 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnection2W(lpname : ::windows_sys::core::PCWSTR, dwflags : u32, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); |
| 48 |
#[cfg(feature = "Win32_Foundation")] |
| 49 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnectionA(lpname : ::windows_sys::core::PCSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); |
| 50 |
#[cfg(feature = "Win32_Foundation")] |
| 51 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCancelConnectionW(lpname : ::windows_sys::core::PCWSTR, fforce : super::super::Foundation:: BOOL) -> super::super::Foundation:: WIN32_ERROR); |
| 52 |
#[cfg(feature = "Win32_Foundation")] |
| 53 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetCloseEnum(henum : super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); |
| 54 |
#[cfg(feature = "Win32_Foundation")] |
| 55 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 56 |
#[cfg(feature = "Win32_Foundation")] |
| 57 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog1A(lpconndlgstruct : *mut CONNECTDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); |
| 58 |
#[cfg(feature = "Win32_Foundation")] |
| 59 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetConnectionDialog1W(lpconndlgstruct : *mut CONNECTDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); |
| 60 |
#[cfg(feature = "Win32_Foundation")] |
| 61 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog(hwnd : super::super::Foundation:: HWND, dwtype : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 62 |
#[cfg(feature = "Win32_Foundation")] |
| 63 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog1A(lpconndlgstruct : *const DISCDLGSTRUCTA) -> super::super::Foundation:: WIN32_ERROR); |
| 64 |
#[cfg(feature = "Win32_Foundation")] |
| 65 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetDisconnectDialog1W(lpconndlgstruct : *const DISCDLGSTRUCTW) -> super::super::Foundation:: WIN32_ERROR); |
| 66 |
#[cfg(feature = "Win32_Foundation")] |
| 67 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetEnumResourceA(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 68 |
#[cfg(feature = "Win32_Foundation")] |
| 69 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetEnumResourceW(henum : super::super::Foundation:: HANDLE, lpccount : *mut u32, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 70 |
#[cfg(feature = "Win32_Foundation")] |
| 71 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetConnectionA(lplocalname : ::windows_sys::core::PCSTR, lpremotename : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 72 |
#[cfg(feature = "Win32_Foundation")] |
| 73 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetConnectionW(lplocalname : ::windows_sys::core::PCWSTR, lpremotename : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 74 |
#[cfg(feature = "Win32_Foundation")] |
| 75 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetLastErrorA(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 76 |
#[cfg(feature = "Win32_Foundation")] |
| 77 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetLastErrorW(lperror : *mut u32, lperrorbuf : ::windows_sys::core::PWSTR, nerrorbufsize : u32, lpnamebuf : ::windows_sys::core::PWSTR, nnamebufsize : u32) -> super::super::Foundation:: WIN32_ERROR); |
| 78 |
#[cfg(feature = "Win32_Foundation")] |
| 79 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetNetworkInformationA(lpprovider : ::windows_sys::core::PCSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); |
| 80 |
#[cfg(feature = "Win32_Foundation")] |
| 81 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetNetworkInformationW(lpprovider : ::windows_sys::core::PCWSTR, lpnetinfostruct : *mut NETINFOSTRUCT) -> super::super::Foundation:: WIN32_ERROR); |
| 82 |
#[cfg(feature = "Win32_Foundation")] |
| 83 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetProviderNameA(dwnettype : u32, lpprovidername : ::windows_sys::core::PSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 84 |
#[cfg(feature = "Win32_Foundation")] |
| 85 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetProviderNameW(dwnettype : u32, lpprovidername : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 86 |
#[cfg(feature = "Win32_Foundation")] |
| 87 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceInformationA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: WIN32_ERROR); |
| 88 |
#[cfg(feature = "Win32_Foundation")] |
| 89 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceInformationW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32, lplpsystem : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: WIN32_ERROR); |
| 90 |
#[cfg(feature = "Win32_Foundation")] |
| 91 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceParentA(lpnetresource : *const NETRESOURCEA, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 92 |
#[cfg(feature = "Win32_Foundation")] |
| 93 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetResourceParentW(lpnetresource : *const NETRESOURCEW, lpbuffer : *mut ::core::ffi::c_void, lpcbbuffer : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 94 |
#[cfg(feature = "Win32_Foundation")] |
| 95 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUniversalNameA(lplocalpath : ::windows_sys::core::PCSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 96 |
#[cfg(feature = "Win32_Foundation")] |
| 97 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUniversalNameW(lplocalpath : ::windows_sys::core::PCWSTR, dwinfolevel : UNC_INFO_LEVEL, lpbuffer : *mut ::core::ffi::c_void, lpbuffersize : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 98 |
#[cfg(feature = "Win32_Foundation")] |
| 99 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUserA(lpname : ::windows_sys::core::PCSTR, lpusername : ::windows_sys::core::PSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 100 |
#[cfg(feature = "Win32_Foundation")] |
| 101 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetGetUserW(lpname : ::windows_sys::core::PCWSTR, lpusername : ::windows_sys::core::PWSTR, lpnlength : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 102 |
#[cfg(feature = "Win32_Foundation")] |
| 103 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetOpenEnumA(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEA, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); |
| 104 |
#[cfg(feature = "Win32_Foundation")] |
| 105 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetOpenEnumW(dwscope : NET_RESOURCE_SCOPE, dwtype : NET_RESOURCE_TYPE, dwusage : WNET_OPEN_ENUM_USAGE, lpnetresource : *const NETRESOURCEW, lphenum : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: WIN32_ERROR); |
| 106 |
::windows_targets::link!("mpr.dll" "system" fn WNetSetLastErrorA(err : u32, lperror : ::windows_sys::core::PCSTR, lpproviders : ::windows_sys::core::PCSTR) -> ()); |
| 107 |
::windows_targets::link!("mpr.dll" "system" fn WNetSetLastErrorW(err : u32, lperror : ::windows_sys::core::PCWSTR, lpproviders : ::windows_sys::core::PCWSTR) -> ()); |
| 108 |
#[cfg(feature = "Win32_Foundation")] |
| 109 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnection4A(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 110 |
#[cfg(feature = "Win32_Foundation")] |
| 111 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnection4W(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, dwflags : u32, lpuseoptions : *const u8, cbuseoptions : u32, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 112 |
#[cfg(feature = "Win32_Foundation")] |
| 113 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnectionA(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEA, lppassword : ::windows_sys::core::PCSTR, lpuserid : ::windows_sys::core::PCSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 114 |
#[cfg(feature = "Win32_Foundation")] |
| 115 |
::windows_targets::link!("mpr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WNetUseConnectionW(hwndowner : super::super::Foundation:: HWND, lpnetresource : *const NETRESOURCEW, lppassword : ::windows_sys::core::PCWSTR, lpuserid : ::windows_sys::core::PCWSTR, dwflags : NET_USE_CONNECT_FLAGS, lpaccessname : ::windows_sys::core::PWSTR, lpbuffersize : *mut u32, lpresult : *mut u32) -> super::super::Foundation:: WIN32_ERROR); |
| 116 |
pub const CONNDLG_CONN_POINT: CONNECTDLGSTRUCT_FLAGS = 2u32; |
| 117 |
pub const CONNDLG_HIDE_BOX: CONNECTDLGSTRUCT_FLAGS = 8u32; |
| 118 |
pub const CONNDLG_NOT_PERSIST: CONNECTDLGSTRUCT_FLAGS = 32u32; |
| 119 |
pub const CONNDLG_PERSIST: CONNECTDLGSTRUCT_FLAGS = 16u32; |
| 120 |
pub const CONNDLG_RO_PATH: CONNECTDLGSTRUCT_FLAGS = 1u32; |
| 121 |
pub const CONNDLG_USE_MRU: CONNECTDLGSTRUCT_FLAGS = 4u32; |
| 122 |
pub const CONNECT_CMD_SAVECRED: NET_USE_CONNECT_FLAGS = 4096u32; |
| 123 |
pub const CONNECT_COMMANDLINE: NET_USE_CONNECT_FLAGS = 2048u32; |
| 124 |
pub const CONNECT_CRED_RESET: u32 = 8192u32; |
| 125 |
pub const CONNECT_CURRENT_MEDIA: u32 = 512u32; |
| 126 |
pub const CONNECT_DEFERRED: NET_USE_CONNECT_FLAGS = 1024u32; |
| 127 |
pub const CONNECT_GLOBAL_MAPPING: u32 = 262144u32; |
| 128 |
pub const CONNECT_INTERACTIVE: NET_USE_CONNECT_FLAGS = 8u32; |
| 129 |
pub const CONNECT_LOCALDRIVE: u32 = 256u32; |
| 130 |
pub const CONNECT_NEED_DRIVE: u32 = 32u32; |
| 131 |
pub const CONNECT_PROMPT: NET_USE_CONNECT_FLAGS = 16u32; |
| 132 |
pub const CONNECT_REDIRECT: NET_USE_CONNECT_FLAGS = 128u32; |
| 133 |
pub const CONNECT_REFCOUNT: u32 = 64u32; |
| 134 |
pub const CONNECT_REQUIRE_INTEGRITY: u32 = 16384u32; |
| 135 |
pub const CONNECT_REQUIRE_PRIVACY: u32 = 32768u32; |
| 136 |
pub const CONNECT_RESERVED: u32 = 4278190080u32; |
| 137 |
pub const CONNECT_TEMPORARY: NET_USE_CONNECT_FLAGS = 4u32; |
| 138 |
pub const CONNECT_UPDATE_PROFILE: NET_USE_CONNECT_FLAGS = 1u32; |
| 139 |
pub const CONNECT_UPDATE_RECENT: NET_USE_CONNECT_FLAGS = 2u32; |
| 140 |
pub const CONNECT_WRITE_THROUGH_SEMANTICS: u32 = 65536u32; |
| 141 |
pub const DISC_NO_FORCE: DISCDLGSTRUCT_FLAGS = 64u32; |
| 142 |
pub const DISC_UPDATE_PROFILE: DISCDLGSTRUCT_FLAGS = 1u32; |
| 143 |
pub const NETINFO_DISKRED: NETINFOSTRUCT_CHARACTERISTICS = 4u32; |
| 144 |
pub const NETINFO_DLL16: NETINFOSTRUCT_CHARACTERISTICS = 1u32; |
| 145 |
pub const NETINFO_PRINTERRED: NETINFOSTRUCT_CHARACTERISTICS = 8u32; |
| 146 |
pub const NETPROPERTY_PERSISTENT: u32 = 1u32; |
| 147 |
pub const NOTIFY_POST: u32 = 2u32; |
| 148 |
pub const NOTIFY_PRE: u32 = 1u32; |
| 149 |
pub const REMOTE_NAME_INFO_LEVEL: UNC_INFO_LEVEL = 2u32; |
| 150 |
pub const RESOURCEDISPLAYTYPE_DIRECTORY: u32 = 9u32; |
| 151 |
pub const RESOURCEDISPLAYTYPE_NDSCONTAINER: u32 = 11u32; |
| 152 |
pub const RESOURCEDISPLAYTYPE_NETWORK: u32 = 6u32; |
| 153 |
pub const RESOURCEDISPLAYTYPE_ROOT: u32 = 7u32; |
| 154 |
pub const RESOURCEDISPLAYTYPE_SHAREADMIN: u32 = 8u32; |
| 155 |
pub const RESOURCETYPE_ANY: NET_RESOURCE_TYPE = 0u32; |
| 156 |
pub const RESOURCETYPE_DISK: NET_RESOURCE_TYPE = 1u32; |
| 157 |
pub const RESOURCETYPE_PRINT: NET_RESOURCE_TYPE = 2u32; |
| 158 |
pub const RESOURCETYPE_RESERVED: u32 = 8u32; |
| 159 |
pub const RESOURCETYPE_UNKNOWN: u32 = 4294967295u32; |
| 160 |
pub const RESOURCEUSAGE_ALL: WNET_OPEN_ENUM_USAGE = 19u32; |
| 161 |
pub const RESOURCEUSAGE_ATTACHED: WNET_OPEN_ENUM_USAGE = 16u32; |
| 162 |
pub const RESOURCEUSAGE_CONNECTABLE: WNET_OPEN_ENUM_USAGE = 1u32; |
| 163 |
pub const RESOURCEUSAGE_CONTAINER: WNET_OPEN_ENUM_USAGE = 2u32; |
| 164 |
pub const RESOURCEUSAGE_NOLOCALDEVICE: u32 = 4u32; |
| 165 |
pub const RESOURCEUSAGE_NONE: WNET_OPEN_ENUM_USAGE = 0u32; |
| 166 |
pub const RESOURCEUSAGE_RESERVED: u32 = 2147483648u32; |
| 167 |
pub const RESOURCEUSAGE_SIBLING: u32 = 8u32; |
| 168 |
pub const RESOURCE_CONNECTED: NET_RESOURCE_SCOPE = 1u32; |
| 169 |
pub const RESOURCE_CONTEXT: NET_RESOURCE_SCOPE = 5u32; |
| 170 |
pub const RESOURCE_GLOBALNET: NET_RESOURCE_SCOPE = 2u32; |
| 171 |
pub const RESOURCE_RECENT: u32 = 4u32; |
| 172 |
pub const RESOURCE_REMEMBERED: NET_RESOURCE_SCOPE = 3u32; |
| 173 |
pub const UNIVERSAL_NAME_INFO_LEVEL: UNC_INFO_LEVEL = 1u32; |
| 174 |
pub const WNCON_DYNAMIC: u32 = 8u32; |
| 175 |
pub const WNCON_FORNETCARD: u32 = 1u32; |
| 176 |
pub const WNCON_NOTROUTED: u32 = 2u32; |
| 177 |
pub const WNCON_SLOWLINK: u32 = 4u32; |
| 178 |
pub const WNDN_MKDIR: NPDIRECTORY_NOTIFY_OPERATION = 1u32; |
| 179 |
pub const WNDN_MVDIR: NPDIRECTORY_NOTIFY_OPERATION = 3u32; |
| 180 |
pub const WNDN_RMDIR: NPDIRECTORY_NOTIFY_OPERATION = 2u32; |
| 181 |
pub const WNDT_NETWORK: u32 = 1u32; |
| 182 |
pub const WNDT_NORMAL: u32 = 0u32; |
| 183 |
pub const WNFMT_ABBREVIATED: NETWORK_NAME_FORMAT_FLAGS = 2u32; |
| 184 |
pub const WNFMT_CONNECTION: u32 = 32u32; |
| 185 |
pub const WNFMT_INENUM: u32 = 16u32; |
| 186 |
pub const WNFMT_MULTILINE: NETWORK_NAME_FORMAT_FLAGS = 1u32; |
| 187 |
pub const WNGETCON_CONNECTED: u32 = 0u32; |
| 188 |
pub const WNGETCON_DISCONNECTED: u32 = 1u32; |
| 189 |
pub const WNNC_ADMIN: u32 = 9u32; |
| 190 |
pub const WNNC_ADM_DIRECTORYNOTIFY: u32 = 2u32; |
| 191 |
pub const WNNC_ADM_GETDIRECTORYTYPE: u32 = 1u32; |
| 192 |
pub const WNNC_CONNECTION: u32 = 6u32; |
| 193 |
pub const WNNC_CONNECTION_FLAGS: u32 = 13u32; |
| 194 |
pub const WNNC_CON_ADDCONNECTION: u32 = 1u32; |
| 195 |
pub const WNNC_CON_ADDCONNECTION3: u32 = 8u32; |
| 196 |
pub const WNNC_CON_ADDCONNECTION4: u32 = 16u32; |
| 197 |
pub const WNNC_CON_CANCELCONNECTION: u32 = 2u32; |
| 198 |
pub const WNNC_CON_CANCELCONNECTION2: u32 = 32u32; |
| 199 |
pub const WNNC_CON_DEFER: u32 = 128u32; |
| 200 |
pub const WNNC_CON_GETCONNECTIONS: u32 = 4u32; |
| 201 |
pub const WNNC_CON_GETPERFORMANCE: u32 = 64u32; |
| 202 |
pub const WNNC_DIALOG: u32 = 8u32; |
| 203 |
pub const WNNC_DLG_DEVICEMODE: u32 = 1u32; |
| 204 |
pub const WNNC_DLG_FORMATNETWORKNAME: u32 = 128u32; |
| 205 |
pub const WNNC_DLG_GETRESOURCEINFORMATION: u32 = 2048u32; |
| 206 |
pub const WNNC_DLG_GETRESOURCEPARENT: u32 = 512u32; |
| 207 |
pub const WNNC_DLG_PERMISSIONEDITOR: u32 = 256u32; |
| 208 |
pub const WNNC_DLG_PROPERTYDIALOG: u32 = 32u32; |
| 209 |
pub const WNNC_DLG_SEARCHDIALOG: u32 = 64u32; |
| 210 |
pub const WNNC_DRIVER_VERSION: u32 = 3u32; |
| 211 |
pub const WNNC_ENUMERATION: u32 = 11u32; |
| 212 |
pub const WNNC_ENUM_CONTEXT: u32 = 4u32; |
| 213 |
pub const WNNC_ENUM_GLOBAL: u32 = 1u32; |
| 214 |
pub const WNNC_ENUM_LOCAL: u32 = 2u32; |
| 215 |
pub const WNNC_ENUM_SHAREABLE: u32 = 8u32; |
| 216 |
pub const WNNC_NET_NONE: u32 = 0u32; |
| 217 |
pub const WNNC_NET_TYPE: u32 = 2u32; |
| 218 |
pub const WNNC_SPEC_VERSION: u32 = 1u32; |
| 219 |
pub const WNNC_SPEC_VERSION51: u32 = 327681u32; |
| 220 |
pub const WNNC_START: u32 = 12u32; |
| 221 |
pub const WNNC_USER: u32 = 4u32; |
| 222 |
pub const WNNC_USR_GETUSER: u32 = 1u32; |
| 223 |
pub const WNNC_WAIT_FOR_START: u32 = 1u32; |
| 224 |
pub const WNPERMC_AUDIT: u32 = 2u32; |
| 225 |
pub const WNPERMC_OWNER: u32 = 4u32; |
| 226 |
pub const WNPERMC_PERM: u32 = 1u32; |
| 227 |
pub const WNPERM_DLG_AUDIT: WNPERM_DLG = 1u32; |
| 228 |
pub const WNPERM_DLG_OWNER: WNPERM_DLG = 2u32; |
| 229 |
pub const WNPERM_DLG_PERM: WNPERM_DLG = 0u32; |
| 230 |
pub const WNPS_DIR: NP_PROPERTY_DIALOG_SELECTION = 1u32; |
| 231 |
pub const WNPS_FILE: NP_PROPERTY_DIALOG_SELECTION = 0u32; |
| 232 |
pub const WNPS_MULT: NP_PROPERTY_DIALOG_SELECTION = 2u32; |
| 233 |
pub const WNSRCH_REFRESH_FIRST_LEVEL: u32 = 1u32; |
| 234 |
pub const WNTYPE_COMM: u32 = 4u32; |
| 235 |
pub const WNTYPE_DRIVE: u32 = 1u32; |
| 236 |
pub const WNTYPE_FILE: u32 = 2u32; |
| 237 |
pub const WNTYPE_PRINTER: u32 = 3u32; |
| 238 |
pub const WN_CREDENTIAL_CLASS: u32 = 2u32; |
| 239 |
pub const WN_NETWORK_CLASS: u32 = 1u32; |
| 240 |
pub const WN_NT_PASSWORD_CHANGED: u32 = 2u32; |
| 241 |
pub const WN_PRIMARY_AUTHENT_CLASS: u32 = 4u32; |
| 242 |
pub const WN_SERVICE_CLASS: u32 = 8u32; |
| 243 |
pub const WN_VALID_LOGON_ACCOUNT: u32 = 1u32; |
| 244 |
pub type CONNECTDLGSTRUCT_FLAGS = u32; |
| 245 |
pub type DISCDLGSTRUCT_FLAGS = u32; |
| 246 |
pub type NETINFOSTRUCT_CHARACTERISTICS = u32; |
| 247 |
pub type NETWORK_NAME_FORMAT_FLAGS = u32; |
| 248 |
pub type NET_RESOURCE_SCOPE = u32; |
| 249 |
pub type NET_RESOURCE_TYPE = u32; |
| 250 |
pub type NET_USE_CONNECT_FLAGS = u32; |
| 251 |
pub type NPDIRECTORY_NOTIFY_OPERATION = u32; |
| 252 |
pub type NP_PROPERTY_DIALOG_SELECTION = u32; |
| 253 |
pub type UNC_INFO_LEVEL = u32; |
| 254 |
pub type WNET_OPEN_ENUM_USAGE = u32; |
| 255 |
pub type WNPERM_DLG = u32; |
| 256 |
#[repr(C)] |
| 257 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 258 |
#[cfg(feature = "Win32_Foundation")] |
| 259 |
pub struct CONNECTDLGSTRUCTA { |
| 260 |
pub cbStructure: u32, |
| 261 |
pub hwndOwner: super::super::Foundation::HWND, |
| 262 |
pub lpConnRes: *mut NETRESOURCEA, |
| 263 |
pub dwFlags: CONNECTDLGSTRUCT_FLAGS, |
| 264 |
pub dwDevNum: u32, |
| 265 |
} |
| 266 |
#[cfg(feature = "Win32_Foundation")] |
| 267 |
impl ::core::marker::Copy for CONNECTDLGSTRUCTA {} |
| 268 |
#[cfg(feature = "Win32_Foundation")] |
| 269 |
impl ::core::clone::Clone for CONNECTDLGSTRUCTA { |
| 270 |
fn clone(&self) -> Self { |
| 271 |
*self |
| 272 |
} |
| 273 |
} |
| 274 |
#[repr(C)] |
| 275 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 276 |
#[cfg(feature = "Win32_Foundation")] |
| 277 |
pub struct CONNECTDLGSTRUCTW { |
| 278 |
pub cbStructure: u32, |
| 279 |
pub hwndOwner: super::super::Foundation::HWND, |
| 280 |
pub lpConnRes: *mut NETRESOURCEW, |
| 281 |
pub dwFlags: CONNECTDLGSTRUCT_FLAGS, |
| 282 |
pub dwDevNum: u32, |
| 283 |
} |
| 284 |
#[cfg(feature = "Win32_Foundation")] |
| 285 |
impl ::core::marker::Copy for CONNECTDLGSTRUCTW {} |
| 286 |
#[cfg(feature = "Win32_Foundation")] |
| 287 |
impl ::core::clone::Clone for CONNECTDLGSTRUCTW { |
| 288 |
fn clone(&self) -> Self { |
| 289 |
*self |
| 290 |
} |
| 291 |
} |
| 292 |
#[repr(C)] |
| 293 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 294 |
#[cfg(feature = "Win32_Foundation")] |
| 295 |
pub struct DISCDLGSTRUCTA { |
| 296 |
pub cbStructure: u32, |
| 297 |
pub hwndOwner: super::super::Foundation::HWND, |
| 298 |
pub lpLocalName: ::windows_sys::core::PSTR, |
| 299 |
pub lpRemoteName: ::windows_sys::core::PSTR, |
| 300 |
pub dwFlags: DISCDLGSTRUCT_FLAGS, |
| 301 |
} |
| 302 |
#[cfg(feature = "Win32_Foundation")] |
| 303 |
impl ::core::marker::Copy for DISCDLGSTRUCTA {} |
| 304 |
#[cfg(feature = "Win32_Foundation")] |
| 305 |
impl ::core::clone::Clone for DISCDLGSTRUCTA { |
| 306 |
fn clone(&self) -> Self { |
| 307 |
*self |
| 308 |
} |
| 309 |
} |
| 310 |
#[repr(C)] |
| 311 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 312 |
#[cfg(feature = "Win32_Foundation")] |
| 313 |
pub struct DISCDLGSTRUCTW { |
| 314 |
pub cbStructure: u32, |
| 315 |
pub hwndOwner: super::super::Foundation::HWND, |
| 316 |
pub lpLocalName: ::windows_sys::core::PWSTR, |
| 317 |
pub lpRemoteName: ::windows_sys::core::PWSTR, |
| 318 |
pub dwFlags: DISCDLGSTRUCT_FLAGS, |
| 319 |
} |
| 320 |
#[cfg(feature = "Win32_Foundation")] |
| 321 |
impl ::core::marker::Copy for DISCDLGSTRUCTW {} |
| 322 |
#[cfg(feature = "Win32_Foundation")] |
| 323 |
impl ::core::clone::Clone for DISCDLGSTRUCTW { |
| 324 |
fn clone(&self) -> Self { |
| 325 |
*self |
| 326 |
} |
| 327 |
} |
| 328 |
#[repr(C)] |
| 329 |
pub struct NETCONNECTINFOSTRUCT { |
| 330 |
pub cbStructure: u32, |
| 331 |
pub dwFlags: u32, |
| 332 |
pub dwSpeed: u32, |
| 333 |
pub dwDelay: u32, |
| 334 |
pub dwOptDataSize: u32, |
| 335 |
} |
| 336 |
impl ::core::marker::Copy for NETCONNECTINFOSTRUCT {} |
| 337 |
impl ::core::clone::Clone for NETCONNECTINFOSTRUCT { |
| 338 |
fn clone(&self) -> Self { |
| 339 |
*self |
| 340 |
} |
| 341 |
} |
| 342 |
#[repr(C)] |
| 343 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 344 |
#[cfg(feature = "Win32_Foundation")] |
| 345 |
pub struct NETINFOSTRUCT { |
| 346 |
pub cbStructure: u32, |
| 347 |
pub dwProviderVersion: u32, |
| 348 |
pub dwStatus: super::super::Foundation::WIN32_ERROR, |
| 349 |
pub dwCharacteristics: NETINFOSTRUCT_CHARACTERISTICS, |
| 350 |
pub dwHandle: usize, |
| 351 |
pub wNetType: u16, |
| 352 |
pub dwPrinters: u32, |
| 353 |
pub dwDrives: u32, |
| 354 |
} |
| 355 |
#[cfg(feature = "Win32_Foundation")] |
| 356 |
impl ::core::marker::Copy for NETINFOSTRUCT {} |
| 357 |
#[cfg(feature = "Win32_Foundation")] |
| 358 |
impl ::core::clone::Clone for NETINFOSTRUCT { |
| 359 |
fn clone(&self) -> Self { |
| 360 |
*self |
| 361 |
} |
| 362 |
} |
| 363 |
#[repr(C)] |
| 364 |
pub struct NETRESOURCEA { |
| 365 |
pub dwScope: NET_RESOURCE_SCOPE, |
| 366 |
pub dwType: NET_RESOURCE_TYPE, |
| 367 |
pub dwDisplayType: u32, |
| 368 |
pub dwUsage: u32, |
| 369 |
pub lpLocalName: ::windows_sys::core::PSTR, |
| 370 |
pub lpRemoteName: ::windows_sys::core::PSTR, |
| 371 |
pub lpComment: ::windows_sys::core::PSTR, |
| 372 |
pub lpProvider: ::windows_sys::core::PSTR, |
| 373 |
} |
| 374 |
impl ::core::marker::Copy for NETRESOURCEA {} |
| 375 |
impl ::core::clone::Clone for NETRESOURCEA { |
| 376 |
fn clone(&self) -> Self { |
| 377 |
*self |
| 378 |
} |
| 379 |
} |
| 380 |
#[repr(C)] |
| 381 |
pub struct NETRESOURCEW { |
| 382 |
pub dwScope: NET_RESOURCE_SCOPE, |
| 383 |
pub dwType: NET_RESOURCE_TYPE, |
| 384 |
pub dwDisplayType: u32, |
| 385 |
pub dwUsage: u32, |
| 386 |
pub lpLocalName: ::windows_sys::core::PWSTR, |
| 387 |
pub lpRemoteName: ::windows_sys::core::PWSTR, |
| 388 |
pub lpComment: ::windows_sys::core::PWSTR, |
| 389 |
pub lpProvider: ::windows_sys::core::PWSTR, |
| 390 |
} |
| 391 |
impl ::core::marker::Copy for NETRESOURCEW {} |
| 392 |
impl ::core::clone::Clone for NETRESOURCEW { |
| 393 |
fn clone(&self) -> Self { |
| 394 |
*self |
| 395 |
} |
| 396 |
} |
| 397 |
#[repr(C)] |
| 398 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 399 |
#[cfg(feature = "Win32_Foundation")] |
| 400 |
pub struct NOTIFYADD { |
| 401 |
pub hwndOwner: super::super::Foundation::HWND, |
| 402 |
pub NetResource: NETRESOURCEA, |
| 403 |
pub dwAddFlags: NET_USE_CONNECT_FLAGS, |
| 404 |
} |
| 405 |
#[cfg(feature = "Win32_Foundation")] |
| 406 |
impl ::core::marker::Copy for NOTIFYADD {} |
| 407 |
#[cfg(feature = "Win32_Foundation")] |
| 408 |
impl ::core::clone::Clone for NOTIFYADD { |
| 409 |
fn clone(&self) -> Self { |
| 410 |
*self |
| 411 |
} |
| 412 |
} |
| 413 |
#[repr(C)] |
| 414 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 415 |
#[cfg(feature = "Win32_Foundation")] |
| 416 |
pub struct NOTIFYCANCEL { |
| 417 |
pub lpName: ::windows_sys::core::PWSTR, |
| 418 |
pub lpProvider: ::windows_sys::core::PWSTR, |
| 419 |
pub dwFlags: u32, |
| 420 |
pub fForce: super::super::Foundation::BOOL, |
| 421 |
} |
| 422 |
#[cfg(feature = "Win32_Foundation")] |
| 423 |
impl ::core::marker::Copy for NOTIFYCANCEL {} |
| 424 |
#[cfg(feature = "Win32_Foundation")] |
| 425 |
impl ::core::clone::Clone for NOTIFYCANCEL { |
| 426 |
fn clone(&self) -> Self { |
| 427 |
*self |
| 428 |
} |
| 429 |
} |
| 430 |
#[repr(C)] |
| 431 |
pub struct NOTIFYINFO { |
| 432 |
pub dwNotifyStatus: u32, |
| 433 |
pub dwOperationStatus: u32, |
| 434 |
pub lpContext: *mut ::core::ffi::c_void, |
| 435 |
} |
| 436 |
impl ::core::marker::Copy for NOTIFYINFO {} |
| 437 |
impl ::core::clone::Clone for NOTIFYINFO { |
| 438 |
fn clone(&self) -> Self { |
| 439 |
*self |
| 440 |
} |
| 441 |
} |
| 442 |
#[repr(C)] |
| 443 |
pub struct REMOTE_NAME_INFOA { |
| 444 |
pub lpUniversalName: ::windows_sys::core::PSTR, |
| 445 |
pub lpConnectionName: ::windows_sys::core::PSTR, |
| 446 |
pub lpRemainingPath: ::windows_sys::core::PSTR, |
| 447 |
} |
| 448 |
impl ::core::marker::Copy for REMOTE_NAME_INFOA {} |
| 449 |
impl ::core::clone::Clone for REMOTE_NAME_INFOA { |
| 450 |
fn clone(&self) -> Self { |
| 451 |
*self |
| 452 |
} |
| 453 |
} |
| 454 |
#[repr(C)] |
| 455 |
pub struct REMOTE_NAME_INFOW { |
| 456 |
pub lpUniversalName: ::windows_sys::core::PWSTR, |
| 457 |
pub lpConnectionName: ::windows_sys::core::PWSTR, |
| 458 |
pub lpRemainingPath: ::windows_sys::core::PWSTR, |
| 459 |
} |
| 460 |
impl ::core::marker::Copy for REMOTE_NAME_INFOW {} |
| 461 |
impl ::core::clone::Clone for REMOTE_NAME_INFOW { |
| 462 |
fn clone(&self) -> Self { |
| 463 |
*self |
| 464 |
} |
| 465 |
} |
| 466 |
#[repr(C)] |
| 467 |
pub struct UNIVERSAL_NAME_INFOA { |
| 468 |
pub lpUniversalName: ::windows_sys::core::PSTR, |
| 469 |
} |
| 470 |
impl ::core::marker::Copy for UNIVERSAL_NAME_INFOA {} |
| 471 |
impl ::core::clone::Clone for UNIVERSAL_NAME_INFOA { |
| 472 |
fn clone(&self) -> Self { |
| 473 |
*self |
| 474 |
} |
| 475 |
} |
| 476 |
#[repr(C)] |
| 477 |
pub struct UNIVERSAL_NAME_INFOW { |
| 478 |
pub lpUniversalName: ::windows_sys::core::PWSTR, |
| 479 |
} |
| 480 |
impl ::core::marker::Copy for UNIVERSAL_NAME_INFOW {} |
| 481 |
impl ::core::clone::Clone for UNIVERSAL_NAME_INFOW { |
| 482 |
fn clone(&self) -> Self { |
| 483 |
*self |
| 484 |
} |
| 485 |
} |
| 486 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 487 |
#[cfg(feature = "Win32_Foundation")] |
| 488 |
pub type PF_AddConnectNotify = ::core::option::Option<unsafe extern "system" fn(lpnotifyinfo: *mut NOTIFYINFO, lpaddinfo: *const NOTIFYADD) -> u32>; |
| 489 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 490 |
#[cfg(feature = "Win32_Foundation")] |
| 491 |
pub type PF_CancelConnectNotify = ::core::option::Option<unsafe extern "system" fn(lpnotifyinfo: *mut NOTIFYINFO, lpcancelinfo: *const NOTIFYCANCEL) -> u32>; |
| 492 |
pub type PF_NPAddConnection = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR) -> u32>; |
| 493 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 494 |
#[cfg(feature = "Win32_Foundation")] |
| 495 |
pub type PF_NPAddConnection3 = ::core::option::Option<unsafe extern "system" fn(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lppassword: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PCWSTR, dwflags: u32) -> u32>; |
| 496 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 497 |
#[cfg(feature = "Win32_Foundation")] |
| 498 |
pub type PF_NPAddConnection4 = ::core::option::Option<unsafe extern "system" fn(hwndowner: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lpauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, dwflags: u32, lpuseoptions: *const u8, cbuseoptions: u32) -> u32>; |
| 499 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 500 |
#[cfg(feature = "Win32_Foundation")] |
| 501 |
pub type PF_NPCancelConnection = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL) -> u32>; |
| 502 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 503 |
#[cfg(feature = "Win32_Foundation")] |
| 504 |
pub type PF_NPCancelConnection2 = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, fforce: super::super::Foundation::BOOL, dwflags: u32) -> u32>; |
| 505 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 506 |
#[cfg(feature = "Win32_Foundation")] |
| 507 |
pub type PF_NPCloseEnum = ::core::option::Option<unsafe extern "system" fn(henum: super::super::Foundation::HANDLE) -> u32>; |
| 508 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 509 |
#[cfg(feature = "Win32_Foundation")] |
| 510 |
pub type PF_NPDeviceMode = ::core::option::Option<unsafe extern "system" fn(hparent: super::super::Foundation::HWND) -> u32>; |
| 511 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 512 |
#[cfg(feature = "Win32_Foundation")] |
| 513 |
pub type PF_NPDirectoryNotify = ::core::option::Option<unsafe extern "system" fn(hwnd: super::super::Foundation::HWND, lpdir: ::windows_sys::core::PCWSTR, dwoper: u32) -> u32>; |
| 514 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 515 |
#[cfg(feature = "Win32_Foundation")] |
| 516 |
pub type PF_NPEnumResource = ::core::option::Option<unsafe extern "system" fn(henum: super::super::Foundation::HANDLE, lpccount: *mut u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>; |
| 517 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 518 |
#[cfg(feature = "Win32_Foundation")] |
| 519 |
pub type PF_NPFMXEditPerm = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR, hwndfmx: super::super::Foundation::HWND, ndialogtype: u32) -> u32>; |
| 520 |
pub type PF_NPFMXGetPermCaps = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR) -> u32>; |
| 521 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 522 |
#[cfg(feature = "Win32_Foundation")] |
| 523 |
pub type PF_NPFMXGetPermHelp = ::core::option::Option<unsafe extern "system" fn(lpdrivename: ::windows_sys::core::PCWSTR, ndialogtype: u32, fdirectory: super::super::Foundation::BOOL, lpfilenamebuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lpnhelpcontext: *mut u32) -> u32>; |
| 524 |
pub type PF_NPFormatNetworkName = ::core::option::Option<unsafe extern "system" fn(lpremotename: ::windows_sys::core::PCWSTR, lpformattedname: ::windows_sys::core::PWSTR, lpnlength: *mut u32, dwflags: u32, dwavecharperline: u32) -> u32>; |
| 525 |
pub type PF_NPGetCaps = ::core::option::Option<unsafe extern "system" fn(ndex: u32) -> u32>; |
| 526 |
pub type PF_NPGetConnection = ::core::option::Option<unsafe extern "system" fn(lplocalname: ::windows_sys::core::PCWSTR, lpremotename: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32>; |
| 527 |
pub type PF_NPGetConnection3 = ::core::option::Option<unsafe extern "system" fn(lplocalname: ::windows_sys::core::PCWSTR, dwlevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>; |
| 528 |
pub type PF_NPGetConnectionPerformance = ::core::option::Option<unsafe extern "system" fn(lpremotename: ::windows_sys::core::PCWSTR, lpnetconnectinfo: *mut NETCONNECTINFOSTRUCT) -> u32>; |
| 529 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 530 |
#[cfg(feature = "Win32_Foundation")] |
| 531 |
pub type PF_NPGetDirectoryType = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, lptype: *const i32, bflushcache: super::super::Foundation::BOOL) -> u32>; |
| 532 |
pub type PF_NPGetPersistentUseOptionsForConnection = ::core::option::Option<unsafe extern "system" fn(lpremotepath: ::windows_sys::core::PCWSTR, lpreaduseoptions: *const u8, cbreaduseoptions: u32, lpwriteuseoptions: *mut u8, lpsizewriteuseoptions: *mut u32) -> u32>; |
| 533 |
pub type PF_NPGetPropertyText = ::core::option::Option<unsafe extern "system" fn(ibutton: u32, npropsel: u32, lpname: ::windows_sys::core::PCWSTR, lpbuttonname: ::windows_sys::core::PWSTR, nbuttonnamelen: u32, ntype: u32) -> u32>; |
| 534 |
pub type PF_NPGetResourceInformation = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32, lplpsystem: *mut ::windows_sys::core::PWSTR) -> u32>; |
| 535 |
pub type PF_NPGetResourceParent = ::core::option::Option<unsafe extern "system" fn(lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, lpbuffersize: *mut u32) -> u32>; |
| 536 |
pub type PF_NPGetUniversalName = ::core::option::Option<unsafe extern "system" fn(lplocalpath: ::windows_sys::core::PCWSTR, dwinfolevel: u32, lpbuffer: *mut ::core::ffi::c_void, lpnbuffersize: *mut u32) -> u32>; |
| 537 |
pub type PF_NPGetUser = ::core::option::Option<unsafe extern "system" fn(lpname: ::windows_sys::core::PCWSTR, lpusername: ::windows_sys::core::PWSTR, lpnbufferlen: *mut u32) -> u32>; |
| 538 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 539 |
#[cfg(feature = "Win32_Foundation")] |
| 540 |
pub type PF_NPLogonNotify = ::core::option::Option<unsafe extern "system" fn(lplogonid: *const super::super::Foundation::LUID, lpauthentinfotype: ::windows_sys::core::PCWSTR, lpauthentinfo: *const ::core::ffi::c_void, lppreviousauthentinfotype: ::windows_sys::core::PCWSTR, lppreviousauthentinfo: *const ::core::ffi::c_void, lpstationname: ::windows_sys::core::PCWSTR, stationhandle: *const ::core::ffi::c_void, lplogonscript: *mut ::windows_sys::core::PWSTR) -> u32>; |
| 541 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 542 |
#[cfg(feature = "Win32_Foundation")] |
| 543 |
pub type PF_NPOpenEnum = ::core::option::Option<unsafe extern "system" fn(dwscope: u32, dwtype: u32, dwusage: u32, lpnetresource: *const NETRESOURCEW, lphenum: *mut super::super::Foundation::HANDLE) -> u32>; |
| 544 |
pub type PF_NPPasswordChangeNotify = ::core::option::Option<unsafe extern "system" fn(lpauthentinfotype: ::windows_sys::core::PCWSTR, lpauthentinfo: *const ::core::ffi::c_void, lppreviousauthentinfotype: ::windows_sys::core::PCWSTR, lppreviousauthentinfo: *const ::core::ffi::c_void, lpstationname: ::windows_sys::core::PCWSTR, stationhandle: *const ::core::ffi::c_void, dwchangeinfo: u32) -> u32>; |
| 545 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 546 |
#[cfg(feature = "Win32_Foundation")] |
| 547 |
pub type PF_NPPropertyDialog = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::Foundation::HWND, ibuttondlg: u32, npropsel: u32, lpfilename: ::windows_sys::core::PCWSTR, ntype: u32) -> u32>; |
| 548 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 549 |
#[cfg(feature = "Win32_Foundation")] |
| 550 |
pub type PF_NPSearchDialog = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::Foundation::HWND, lpnetresource: *const NETRESOURCEW, lpbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, lpnflags: *mut u32) -> u32>; |