Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/NetworkManagement/P2P/mod.rs

raw
1 ::windows_targets::link!("drt.dll" "system" fn DrtClose(hdrt : *const ::core::ffi::c_void) -> ());
2 ::windows_targets::link!("drt.dll" "system" fn DrtContinueSearch(hsearchcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
3 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4 ::windows_targets::link!("drtprov.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn DrtCreateDerivedKey(plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT, pkey : *mut DRT_DATA) -> ::windows_sys::core::HRESULT);
5 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
6 ::windows_targets::link!("drtprov.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn DrtCreateDerivedKeySecurityProvider(prootcert : *const super::super::Security::Cryptography:: CERT_CONTEXT, plocalcert : *const super::super::Security::Cryptography:: CERT_CONTEXT, ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER) -> ::windows_sys::core::HRESULT);
7 ::windows_targets::link!("drtprov.dll" "system" fn DrtCreateDnsBootstrapResolver(port : u16, pwszaddress : ::windows_sys::core::PCWSTR, ppmodule : *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows_sys::core::HRESULT);
8 ::windows_targets::link!("drttransport.dll" "system" fn DrtCreateIpv6UdpTransport(scope : DRT_SCOPE, dwscopeid : u32, dwlocalitythreshold : u32, pwport : *mut u16, phtransport : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
9 ::windows_targets::link!("drtprov.dll" "system" fn DrtCreateNullSecurityProvider(ppsecurityprovider : *mut *mut DRT_SECURITY_PROVIDER) -> ::windows_sys::core::HRESULT);
10 #[cfg(feature = "Win32_Foundation")]
11 ::windows_targets::link!("drtprov.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DrtCreatePnrpBootstrapResolver(fpublish : super::super::Foundation:: BOOL, pwzpeername : ::windows_sys::core::PCWSTR, pwzcloudname : ::windows_sys::core::PCWSTR, pwzpublishingidentity : ::windows_sys::core::PCWSTR, ppresolver : *mut *mut DRT_BOOTSTRAP_PROVIDER) -> ::windows_sys::core::HRESULT);
12 ::windows_targets::link!("drtprov.dll" "system" fn DrtDeleteDerivedKeySecurityProvider(psecurityprovider : *const DRT_SECURITY_PROVIDER) -> ());
13 ::windows_targets::link!("drtprov.dll" "system" fn DrtDeleteDnsBootstrapResolver(presolver : *const DRT_BOOTSTRAP_PROVIDER) -> ());
14 ::windows_targets::link!("drttransport.dll" "system" fn DrtDeleteIpv6UdpTransport(htransport : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
15 ::windows_targets::link!("drtprov.dll" "system" fn DrtDeleteNullSecurityProvider(psecurityprovider : *const DRT_SECURITY_PROVIDER) -> ());
16 ::windows_targets::link!("drtprov.dll" "system" fn DrtDeletePnrpBootstrapResolver(presolver : *const DRT_BOOTSTRAP_PROVIDER) -> ());
17 ::windows_targets::link!("drt.dll" "system" fn DrtEndSearch(hsearchcontext : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
18 #[cfg(feature = "Win32_Networking_WinSock")]
19 ::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn DrtGetEventData(hdrt : *const ::core::ffi::c_void, uleventdatalen : u32, peventdata : *mut DRT_EVENT_DATA) -> ::windows_sys::core::HRESULT);
20 ::windows_targets::link!("drt.dll" "system" fn DrtGetEventDataSize(hdrt : *const ::core::ffi::c_void, puleventdatalen : *mut u32) -> ::windows_sys::core::HRESULT);
21 ::windows_targets::link!("drt.dll" "system" fn DrtGetInstanceName(hdrt : *const ::core::ffi::c_void, ulcbinstancenamesize : u32, pwzdrtinstancename : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
22 ::windows_targets::link!("drt.dll" "system" fn DrtGetInstanceNameSize(hdrt : *const ::core::ffi::c_void, pulcbinstancenamesize : *mut u32) -> ::windows_sys::core::HRESULT);
23 #[cfg(feature = "Win32_Networking_WinSock")]
24 ::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn DrtGetSearchPath(hsearchcontext : *const ::core::ffi::c_void, ulsearchpathsize : u32, psearchpath : *mut DRT_ADDRESS_LIST) -> ::windows_sys::core::HRESULT);
25 ::windows_targets::link!("drt.dll" "system" fn DrtGetSearchPathSize(hsearchcontext : *const ::core::ffi::c_void, pulsearchpathsize : *mut u32) -> ::windows_sys::core::HRESULT);
26 ::windows_targets::link!("drt.dll" "system" fn DrtGetSearchResult(hsearchcontext : *const ::core::ffi::c_void, ulsearchresultsize : u32, psearchresult : *mut DRT_SEARCH_RESULT) -> ::windows_sys::core::HRESULT);
27 ::windows_targets::link!("drt.dll" "system" fn DrtGetSearchResultSize(hsearchcontext : *const ::core::ffi::c_void, pulsearchresultsize : *mut u32) -> ::windows_sys::core::HRESULT);
28 #[cfg(feature = "Win32_Foundation")]
29 ::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DrtOpen(psettings : *const DRT_SETTINGS, hevent : super::super::Foundation:: HANDLE, pvcontext : *const ::core::ffi::c_void, phdrt : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
30 ::windows_targets::link!("drt.dll" "system" fn DrtRegisterKey(hdrt : *const ::core::ffi::c_void, pregistration : *const DRT_REGISTRATION, pvkeycontext : *const ::core::ffi::c_void, phkeyregistration : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
31 #[cfg(feature = "Win32_Foundation")]
32 ::windows_targets::link!("drt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DrtStartSearch(hdrt : *const ::core::ffi::c_void, pkey : *const DRT_DATA, pinfo : *const DRT_SEARCH_INFO, timeout : u32, hevent : super::super::Foundation:: HANDLE, pvcontext : *const ::core::ffi::c_void, hsearchcontext : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
33 ::windows_targets::link!("drt.dll" "system" fn DrtUnregisterKey(hkeyregistration : *const ::core::ffi::c_void) -> ());
34 ::windows_targets::link!("drt.dll" "system" fn DrtUpdateKey(hkeyregistration : *const ::core::ffi::c_void, pappdata : *const DRT_DATA) -> ::windows_sys::core::HRESULT);
35 #[cfg(feature = "Win32_Foundation")]
36 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabAddContact(pwzcontactdata : ::windows_sys::core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT);
37 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
38 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabAsyncInviteContact(pccontact : *const PEER_CONTACT, pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, hevent : super::super::Foundation:: HANDLE, phinvitation : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
39 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
40 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabAsyncInviteEndpoint(pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, hevent : super::super::Foundation:: HANDLE, phinvitation : *mut super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
41 #[cfg(feature = "Win32_Foundation")]
42 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabCancelInvitation(hinvitation : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
43 #[cfg(feature = "Win32_Foundation")]
44 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabCloseHandle(hinvitation : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
45 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabDeleteContact(pwzpeername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
46 #[cfg(feature = "Win32_Networking_WinSock")]
47 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabDeleteEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT);
48 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabDeleteObject(pobjectid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
49 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabEnumApplicationRegistrationInfo(registrationtype : PEER_APPLICATION_REGISTRATION_TYPE, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
50 #[cfg(feature = "Win32_Networking_WinSock")]
51 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabEnumApplications(pcendpoint : *const PEER_ENDPOINT, papplicationid : *const ::windows_sys::core::GUID, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
52 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabEnumContacts(phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
53 #[cfg(feature = "Win32_Foundation")]
54 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabEnumEndpoints(pccontact : *const PEER_CONTACT, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
55 #[cfg(feature = "Win32_Networking_WinSock")]
56 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabEnumObjects(pcendpoint : *const PEER_ENDPOINT, pobjectid : *const ::windows_sys::core::GUID, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
57 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabEnumPeopleNearMe(phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
58 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabExportContact(pwzpeername : ::windows_sys::core::PCWSTR, ppwzcontactdata : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
59 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
60 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabGetAppLaunchInfo(pplaunchinfo : *mut *mut PEER_APP_LAUNCH_INFO) -> ::windows_sys::core::HRESULT);
61 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabGetApplicationRegistrationInfo(papplicationid : *const ::windows_sys::core::GUID, registrationtype : PEER_APPLICATION_REGISTRATION_TYPE, ppapplication : *mut *mut PEER_APPLICATION_REGISTRATION_INFO) -> ::windows_sys::core::HRESULT);
62 #[cfg(feature = "Win32_Foundation")]
63 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabGetContact(pwzpeername : ::windows_sys::core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT);
64 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabGetEndpointName(ppwzendpointname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
65 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
66 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabGetEventData(hpeerevent : *const ::core::ffi::c_void, ppeventdata : *mut *mut PEER_COLLAB_EVENT_DATA) -> ::windows_sys::core::HRESULT);
67 #[cfg(feature = "Win32_Foundation")]
68 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabGetInvitationResponse(hinvitation : super::super::Foundation:: HANDLE, ppinvitationresponse : *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT);
69 #[cfg(feature = "Win32_Networking_WinSock")]
70 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabGetPresenceInfo(pcendpoint : *const PEER_ENDPOINT, pppresenceinfo : *mut *mut PEER_PRESENCE_INFO) -> ::windows_sys::core::HRESULT);
71 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabGetSigninOptions(pdwsigninoptions : *mut u32) -> ::windows_sys::core::HRESULT);
72 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
73 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"] fn PeerCollabInviteContact(pccontact : *const PEER_CONTACT, pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, ppresponse : *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT);
74 #[cfg(feature = "Win32_Networking_WinSock")]
75 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabInviteEndpoint(pcendpoint : *const PEER_ENDPOINT, pcinvitation : *const PEER_INVITATION, ppresponse : *mut *mut PEER_INVITATION_RESPONSE) -> ::windows_sys::core::HRESULT);
76 #[cfg(feature = "Win32_Foundation")]
77 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabParseContact(pwzcontactdata : ::windows_sys::core::PCWSTR, ppcontact : *mut *mut PEER_CONTACT) -> ::windows_sys::core::HRESULT);
78 #[cfg(feature = "Win32_Networking_WinSock")]
79 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabQueryContactData(pcendpoint : *const PEER_ENDPOINT, ppwzcontactdata : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
80 #[cfg(feature = "Win32_Networking_WinSock")]
81 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabRefreshEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT);
82 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabRegisterApplication(pcapplication : *const PEER_APPLICATION_REGISTRATION_INFO, registrationtype : PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows_sys::core::HRESULT);
83 #[cfg(feature = "Win32_Foundation")]
84 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabRegisterEvent(hevent : super::super::Foundation:: HANDLE, ceventregistration : u32, peventregistrations : *const PEER_COLLAB_EVENT_REGISTRATION, phpeerevent : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
85 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabSetEndpointName(pwzendpointname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
86 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabSetObject(pcobject : *const PEER_OBJECT) -> ::windows_sys::core::HRESULT);
87 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabSetPresenceInfo(pcpresenceinfo : *const PEER_PRESENCE_INFO) -> ::windows_sys::core::HRESULT);
88 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabShutdown() -> ::windows_sys::core::HRESULT);
89 #[cfg(feature = "Win32_Foundation")]
90 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabSignin(hwndparent : super::super::Foundation:: HWND, dwsigninoptions : u32) -> ::windows_sys::core::HRESULT);
91 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabSignout(dwsigninoptions : u32) -> ::windows_sys::core::HRESULT);
92 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabStartup(wversionrequested : u16) -> ::windows_sys::core::HRESULT);
93 #[cfg(feature = "Win32_Networking_WinSock")]
94 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabSubscribeEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT);
95 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabUnregisterApplication(papplicationid : *const ::windows_sys::core::GUID, registrationtype : PEER_APPLICATION_REGISTRATION_TYPE) -> ::windows_sys::core::HRESULT);
96 ::windows_targets::link!("p2p.dll" "system" fn PeerCollabUnregisterEvent(hpeerevent : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
97 #[cfg(feature = "Win32_Networking_WinSock")]
98 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerCollabUnsubscribeEndpointData(pcendpoint : *const PEER_ENDPOINT) -> ::windows_sys::core::HRESULT);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerCollabUpdateContact(pcontact : *const PEER_CONTACT) -> ::windows_sys::core::HRESULT);
101 ::windows_targets::link!("p2p.dll" "system" fn PeerCreatePeerName(pwzidentity : ::windows_sys::core::PCWSTR, pwzclassifier : ::windows_sys::core::PCWSTR, ppwzpeername : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
102 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
103 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientAddContentInformation(hpeerdist : isize, hcontenthandle : isize, cbnumberofbytes : u32, pbuffer : *const u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
104 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
105 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientAddData(hpeerdist : isize, hcontenthandle : isize, cbnumberofbytes : u32, pbuffer : *const u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
106 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
107 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientBlockRead(hpeerdist : isize, hcontenthandle : isize, cbmaxnumberofbytes : u32, pbuffer : *mut u8, dwtimeoutinmilliseconds : u32, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
108 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
109 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientCancelAsyncOperation(hpeerdist : isize, hcontenthandle : isize, poverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
110 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistClientCloseContent(hpeerdist : isize, hcontenthandle : isize) -> u32);
111 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
112 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientCompleteContentInformation(hpeerdist : isize, hcontenthandle : isize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
113 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
114 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientFlushContent(hpeerdist : isize, pcontenttag : *const PEERDIST_CONTENT_TAG, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
115 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistClientGetInformationByHandle(hpeerdist : isize, hcontenthandle : isize, peerdistclientinfoclass : PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS, dwbuffersize : u32, lpinformation : *mut ::core::ffi::c_void) -> u32);
116 #[cfg(feature = "Win32_Foundation")]
117 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistClientOpenContent(hpeerdist : isize, pcontenttag : *const PEERDIST_CONTENT_TAG, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phcontenthandle : *mut isize) -> u32);
118 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
119 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistClientStreamRead(hpeerdist : isize, hcontenthandle : isize, cbmaxnumberofbytes : u32, pbuffer : *mut u8, dwtimeoutinmilliseconds : u32, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
120 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
121 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistGetOverlappedResult(lpoverlapped : *const super::super::System::IO:: OVERLAPPED, lpnumberofbytestransferred : *mut u32, bwait : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL);
122 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistGetStatus(hpeerdist : isize, ppeerdiststatus : *mut PEERDIST_STATUS) -> u32);
123 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistGetStatusEx(hpeerdist : isize, ppeerdiststatus : *mut PEERDIST_STATUS_INFO) -> u32);
124 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
125 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistRegisterForStatusChangeNotification(hpeerdist : isize, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED, ppeerdiststatus : *mut PEERDIST_STATUS) -> u32);
126 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
127 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistRegisterForStatusChangeNotificationEx(hpeerdist : isize, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED, ppeerdiststatus : *mut PEERDIST_STATUS_INFO) -> u32);
128 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
129 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerCancelAsyncOperation(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, poverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
130 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistServerCloseContentInformation(hpeerdist : isize, hcontentinfo : isize) -> u32);
131 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistServerCloseStreamHandle(hpeerdist : isize, hstream : isize) -> u32);
132 #[cfg(feature = "Win32_Foundation")]
133 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistServerOpenContentInformation(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, ullcontentoffset : u64, cbcontentlength : u64, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phcontentinfo : *mut isize) -> u32);
134 #[cfg(feature = "Win32_Foundation")]
135 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistServerOpenContentInformationEx(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, ullcontentoffset : u64, cbcontentlength : u64, pretrievaloptions : *const PEERDIST_RETRIEVAL_OPTIONS, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phcontentinfo : *mut isize) -> u32);
136 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
137 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerPublishAddToStream(hpeerdist : isize, hstream : isize, cbnumberofbytes : u32, pbuffer : *const u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
138 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
139 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerPublishCompleteStream(hpeerdist : isize, hstream : isize, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
140 #[cfg(feature = "Win32_Foundation")]
141 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerDistServerPublishStream(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8, cbcontentlength : u64, ppublishoptions : *const PEERDIST_PUBLICATION_OPTIONS, hcompletionport : super::super::Foundation:: HANDLE, ulcompletionkey : usize, phstream : *mut isize) -> u32);
142 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
143 ::windows_targets::link!("peerdist.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_IO\"`"] fn PeerDistServerRetrieveContentInformation(hpeerdist : isize, hcontentinfo : isize, cbmaxnumberofbytes : u32, pbuffer : *mut u8, lpoverlapped : *const super::super::System::IO:: OVERLAPPED) -> u32);
144 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistServerUnpublish(hpeerdist : isize, cbcontentidentifier : u32, pcontentidentifier : *const u8) -> u32);
145 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistShutdown(hpeerdist : isize) -> u32);
146 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistStartup(dwversionrequested : u32, phpeerdist : *mut isize, pdwsupportedversion : *mut u32) -> u32);
147 ::windows_targets::link!("peerdist.dll" "system" fn PeerDistUnregisterForStatusChangeNotification(hpeerdist : isize) -> u32);
148 ::windows_targets::link!("p2p.dll" "system" fn PeerEndEnumeration(hpeerenum : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
149 ::windows_targets::link!("p2p.dll" "system" fn PeerEnumGroups(pwzidentity : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
150 ::windows_targets::link!("p2p.dll" "system" fn PeerEnumIdentities(phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
151 ::windows_targets::link!("p2p.dll" "system" fn PeerFreeData(pvdata : *const ::core::ffi::c_void) -> ());
152 ::windows_targets::link!("p2p.dll" "system" fn PeerGetItemCount(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32) -> ::windows_sys::core::HRESULT);
153 ::windows_targets::link!("p2p.dll" "system" fn PeerGetNextItem(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32, pppvitems : *mut *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
154 #[cfg(feature = "Win32_Foundation")]
155 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphAddRecord(hgraph : *const ::core::ffi::c_void, precord : *const PEER_RECORD, precordid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
156 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphClose(hgraph : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
157 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphCloseDirectConnection(hgraph : *const ::core::ffi::c_void, ullconnectionid : u64) -> ::windows_sys::core::HRESULT);
158 #[cfg(feature = "Win32_Networking_WinSock")]
159 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGraphConnect(hgraph : *const ::core::ffi::c_void, pwzpeerid : ::windows_sys::core::PCWSTR, paddress : *const PEER_ADDRESS, pullconnectionid : *mut u64) -> ::windows_sys::core::HRESULT);
160 #[cfg(feature = "Win32_Foundation")]
161 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphCreate(pgraphproperties : *const PEER_GRAPH_PROPERTIES, pwzdatabasename : ::windows_sys::core::PCWSTR, psecurityinterface : *const PEER_SECURITY_INTERFACE, phgraph : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
162 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphDelete(pwzgraphid : ::windows_sys::core::PCWSTR, pwzpeerid : ::windows_sys::core::PCWSTR, pwzdatabasename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
163 #[cfg(feature = "Win32_Foundation")]
164 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphDeleteRecord(hgraph : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID, flocal : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
165 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEndEnumeration(hpeerenum : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
166 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEnumConnections(hgraph : *const ::core::ffi::c_void, dwflags : u32, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
167 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEnumNodes(hgraph : *const ::core::ffi::c_void, pwzpeerid : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
168 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphEnumRecords(hgraph : *const ::core::ffi::c_void, precordtype : *const ::windows_sys::core::GUID, pwzpeerid : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
169 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphExportDatabase(hgraph : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
170 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphFreeData(pvdata : *const ::core::ffi::c_void) -> ());
171 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetEventData(hpeerevent : *const ::core::ffi::c_void, ppeventdata : *mut *mut PEER_GRAPH_EVENT_DATA) -> ::windows_sys::core::HRESULT);
172 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetItemCount(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32) -> ::windows_sys::core::HRESULT);
173 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetNextItem(hpeerenum : *const ::core::ffi::c_void, pcount : *mut u32, pppvitems : *mut *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
174 #[cfg(feature = "Win32_Networking_WinSock")]
175 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGraphGetNodeInfo(hgraph : *const ::core::ffi::c_void, ullnodeid : u64, ppnodeinfo : *mut *mut PEER_NODE_INFO) -> ::windows_sys::core::HRESULT);
176 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetProperties(hgraph : *const ::core::ffi::c_void, ppgraphproperties : *mut *mut PEER_GRAPH_PROPERTIES) -> ::windows_sys::core::HRESULT);
177 #[cfg(feature = "Win32_Foundation")]
178 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphGetRecord(hgraph : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID, pprecord : *mut *mut PEER_RECORD) -> ::windows_sys::core::HRESULT);
179 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphGetStatus(hgraph : *const ::core::ffi::c_void, pdwstatus : *mut u32) -> ::windows_sys::core::HRESULT);
180 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphImportDatabase(hgraph : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
181 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphListen(hgraph : *const ::core::ffi::c_void, dwscope : u32, dwscopeid : u32, wport : u16) -> ::windows_sys::core::HRESULT);
182 #[cfg(feature = "Win32_Foundation")]
183 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphOpen(pwzgraphid : ::windows_sys::core::PCWSTR, pwzpeerid : ::windows_sys::core::PCWSTR, pwzdatabasename : ::windows_sys::core::PCWSTR, psecurityinterface : *const PEER_SECURITY_INTERFACE, crecordtypesyncprecedence : u32, precordtypesyncprecedence : *const ::windows_sys::core::GUID, phgraph : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
184 #[cfg(feature = "Win32_Networking_WinSock")]
185 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGraphOpenDirectConnection(hgraph : *const ::core::ffi::c_void, pwzpeerid : ::windows_sys::core::PCWSTR, paddress : *const PEER_ADDRESS, pullconnectionid : *mut u64) -> ::windows_sys::core::HRESULT);
186 #[cfg(feature = "Win32_Foundation")]
187 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphPeerTimeToUniversalTime(hgraph : *const ::core::ffi::c_void, pftpeertime : *const super::super::Foundation:: FILETIME, pftuniversaltime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT);
188 #[cfg(feature = "Win32_Foundation")]
189 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphRegisterEvent(hgraph : *const ::core::ffi::c_void, hevent : super::super::Foundation:: HANDLE, ceventregistrations : u32, peventregistrations : *const PEER_GRAPH_EVENT_REGISTRATION, phpeerevent : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
190 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSearchRecords(hgraph : *const ::core::ffi::c_void, pwzcriteria : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
191 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSendData(hgraph : *const ::core::ffi::c_void, ullconnectionid : u64, ptype : *const ::windows_sys::core::GUID, cbdata : u32, pvdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
192 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSetNodeAttributes(hgraph : *const ::core::ffi::c_void, pwzattributes : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
193 #[cfg(feature = "Win32_Foundation")]
194 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphSetPresence(hgraph : *const ::core::ffi::c_void, fpresent : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
195 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphSetProperties(hgraph : *const ::core::ffi::c_void, pgraphproperties : *const PEER_GRAPH_PROPERTIES) -> ::windows_sys::core::HRESULT);
196 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphShutdown() -> ::windows_sys::core::HRESULT);
197 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphStartup(wversionrequested : u16, pversiondata : *mut PEER_VERSION_DATA) -> ::windows_sys::core::HRESULT);
198 #[cfg(feature = "Win32_Foundation")]
199 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphUniversalTimeToPeerTime(hgraph : *const ::core::ffi::c_void, pftuniversaltime : *const super::super::Foundation:: FILETIME, pftpeertime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT);
200 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphUnregisterEvent(hpeerevent : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
201 #[cfg(feature = "Win32_Foundation")]
202 ::windows_targets::link!("p2pgraph.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGraphUpdateRecord(hgraph : *const ::core::ffi::c_void, precord : *const PEER_RECORD) -> ::windows_sys::core::HRESULT);
203 ::windows_targets::link!("p2pgraph.dll" "system" fn PeerGraphValidateDeferredRecords(hgraph : *const ::core::ffi::c_void, crecordids : u32, precordids : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
204 #[cfg(feature = "Win32_Foundation")]
205 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupAddRecord(hgroup : *const ::core::ffi::c_void, precord : *const PEER_RECORD, precordid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
206 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupClose(hgroup : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
207 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupCloseDirectConnection(hgroup : *const ::core::ffi::c_void, ullconnectionid : u64) -> ::windows_sys::core::HRESULT);
208 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupConnect(hgroup : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
209 #[cfg(feature = "Win32_Networking_WinSock")]
210 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGroupConnectByAddress(hgroup : *const ::core::ffi::c_void, caddresses : u32, paddresses : *const PEER_ADDRESS) -> ::windows_sys::core::HRESULT);
211 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupCreate(pproperties : *const PEER_GROUP_PROPERTIES, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
212 #[cfg(feature = "Win32_Foundation")]
213 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupCreateInvitation(hgroup : *const ::core::ffi::c_void, pwzidentityinfo : ::windows_sys::core::PCWSTR, pftexpiration : *const super::super::Foundation:: FILETIME, croles : u32, proles : *const ::windows_sys::core::GUID, ppwzinvitation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
214 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupCreatePasswordInvitation(hgroup : *const ::core::ffi::c_void, ppwzinvitation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
215 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupDelete(pwzidentity : ::windows_sys::core::PCWSTR, pwzgrouppeername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
216 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupDeleteRecord(hgroup : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
217 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupEnumConnections(hgroup : *const ::core::ffi::c_void, dwflags : u32, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
218 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupEnumMembers(hgroup : *const ::core::ffi::c_void, dwflags : u32, pwzidentity : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
219 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupEnumRecords(hgroup : *const ::core::ffi::c_void, precordtype : *const ::windows_sys::core::GUID, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
220 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupExportConfig(hgroup : *const ::core::ffi::c_void, pwzpassword : ::windows_sys::core::PCWSTR, ppwzxml : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
221 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupExportDatabase(hgroup : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
222 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupGetEventData(hpeerevent : *const ::core::ffi::c_void, ppeventdata : *mut *mut PEER_GROUP_EVENT_DATA) -> ::windows_sys::core::HRESULT);
223 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupGetProperties(hgroup : *const ::core::ffi::c_void, ppproperties : *mut *mut PEER_GROUP_PROPERTIES) -> ::windows_sys::core::HRESULT);
224 #[cfg(feature = "Win32_Foundation")]
225 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupGetRecord(hgroup : *const ::core::ffi::c_void, precordid : *const ::windows_sys::core::GUID, pprecord : *mut *mut PEER_RECORD) -> ::windows_sys::core::HRESULT);
226 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupGetStatus(hgroup : *const ::core::ffi::c_void, pdwstatus : *mut u32) -> ::windows_sys::core::HRESULT);
227 #[cfg(feature = "Win32_Foundation")]
228 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupImportConfig(pwzxml : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, foverwrite : super::super::Foundation:: BOOL, ppwzidentity : *mut ::windows_sys::core::PWSTR, ppwzgroup : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
229 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupImportDatabase(hgroup : *const ::core::ffi::c_void, pwzfilepath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
230 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
231 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn PeerGroupIssueCredentials(hgroup : *const ::core::ffi::c_void, pwzsubjectidentity : ::windows_sys::core::PCWSTR, pcredentialinfo : *const PEER_CREDENTIAL_INFO, dwflags : u32, ppwzinvitation : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
232 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupJoin(pwzidentity : ::windows_sys::core::PCWSTR, pwzinvitation : ::windows_sys::core::PCWSTR, pwzcloud : ::windows_sys::core::PCWSTR, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
233 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupOpen(pwzidentity : ::windows_sys::core::PCWSTR, pwzgrouppeername : ::windows_sys::core::PCWSTR, pwzcloud : ::windows_sys::core::PCWSTR, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
234 #[cfg(feature = "Win32_Networking_WinSock")]
235 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerGroupOpenDirectConnection(hgroup : *const ::core::ffi::c_void, pwzidentity : ::windows_sys::core::PCWSTR, paddress : *const PEER_ADDRESS, pullconnectionid : *mut u64) -> ::windows_sys::core::HRESULT);
236 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
237 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn PeerGroupParseInvitation(pwzinvitation : ::windows_sys::core::PCWSTR, ppinvitationinfo : *mut *mut PEER_INVITATION_INFO) -> ::windows_sys::core::HRESULT);
238 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupPasswordJoin(pwzidentity : ::windows_sys::core::PCWSTR, pwzinvitation : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, pwzcloud : ::windows_sys::core::PCWSTR, phgroup : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
239 #[cfg(feature = "Win32_Foundation")]
240 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupPeerTimeToUniversalTime(hgroup : *const ::core::ffi::c_void, pftpeertime : *const super::super::Foundation:: FILETIME, pftuniversaltime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT);
241 #[cfg(feature = "Win32_Foundation")]
242 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupRegisterEvent(hgroup : *const ::core::ffi::c_void, hevent : super::super::Foundation:: HANDLE, ceventregistration : u32, peventregistrations : *const PEER_GROUP_EVENT_REGISTRATION, phpeerevent : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
243 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupResumePasswordAuthentication(hgroup : *const ::core::ffi::c_void, hpeereventhandle : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
244 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupSearchRecords(hgroup : *const ::core::ffi::c_void, pwzcriteria : ::windows_sys::core::PCWSTR, phpeerenum : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
245 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupSendData(hgroup : *const ::core::ffi::c_void, ullconnectionid : u64, ptype : *const ::windows_sys::core::GUID, cbdata : u32, pvdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
246 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupSetProperties(hgroup : *const ::core::ffi::c_void, pproperties : *const PEER_GROUP_PROPERTIES) -> ::windows_sys::core::HRESULT);
247 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupShutdown() -> ::windows_sys::core::HRESULT);
248 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupStartup(wversionrequested : u16, pversiondata : *mut PEER_VERSION_DATA) -> ::windows_sys::core::HRESULT);
249 #[cfg(feature = "Win32_Foundation")]
250 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupUniversalTimeToPeerTime(hgroup : *const ::core::ffi::c_void, pftuniversaltime : *const super::super::Foundation:: FILETIME, pftpeertime : *mut super::super::Foundation:: FILETIME) -> ::windows_sys::core::HRESULT);
251 ::windows_targets::link!("p2p.dll" "system" fn PeerGroupUnregisterEvent(hpeerevent : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
252 #[cfg(feature = "Win32_Foundation")]
253 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerGroupUpdateRecord(hgroup : *const ::core::ffi::c_void, precord : *const PEER_RECORD) -> ::windows_sys::core::HRESULT);
254 ::windows_targets::link!("p2p.dll" "system" fn PeerHostNameToPeerName(pwzhostname : ::windows_sys::core::PCWSTR, ppwzpeername : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
255 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityCreate(pwzclassifier : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR, hcryptprov : usize, ppwzidentity : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
256 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityDelete(pwzidentity : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
257 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityExport(pwzidentity : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, ppwzexportxml : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
258 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetCryptKey(pwzidentity : ::windows_sys::core::PCWSTR, phcryptprov : *mut usize) -> ::windows_sys::core::HRESULT);
259 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetDefault(ppwzpeername : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
260 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetFriendlyName(pwzidentity : ::windows_sys::core::PCWSTR, ppwzfriendlyname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
261 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityGetXML(pwzidentity : ::windows_sys::core::PCWSTR, ppwzidentityxml : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
262 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentityImport(pwzimportxml : ::windows_sys::core::PCWSTR, pwzpassword : ::windows_sys::core::PCWSTR, ppwzidentity : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
263 ::windows_targets::link!("p2p.dll" "system" fn PeerIdentitySetFriendlyName(pwzidentity : ::windows_sys::core::PCWSTR, pwzfriendlyname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
264 ::windows_targets::link!("p2p.dll" "system" fn PeerNameToPeerHostName(pwzpeername : ::windows_sys::core::PCWSTR, ppwzhostname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
265 ::windows_targets::link!("p2p.dll" "system" fn PeerPnrpEndResolve(hresolve : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
266 ::windows_targets::link!("p2p.dll" "system" fn PeerPnrpGetCloudInfo(pcnumclouds : *mut u32, ppcloudinfo : *mut *mut PEER_PNRP_CLOUD_INFO) -> ::windows_sys::core::HRESULT);
267 #[cfg(feature = "Win32_Networking_WinSock")]
268 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpGetEndpoint(hresolve : *const ::core::ffi::c_void, ppendpoint : *mut *mut PEER_PNRP_ENDPOINT_INFO) -> ::windows_sys::core::HRESULT);
269 #[cfg(feature = "Win32_Networking_WinSock")]
270 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpRegister(pcwzpeername : ::windows_sys::core::PCWSTR, pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO, phregistration : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
271 #[cfg(feature = "Win32_Networking_WinSock")]
272 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpResolve(pcwzpeername : ::windows_sys::core::PCWSTR, pcwzcloudname : ::windows_sys::core::PCWSTR, pcendpoints : *mut u32, ppendpoints : *mut *mut PEER_PNRP_ENDPOINT_INFO) -> ::windows_sys::core::HRESULT);
273 ::windows_targets::link!("p2p.dll" "system" fn PeerPnrpShutdown() -> ::windows_sys::core::HRESULT);
274 #[cfg(feature = "Win32_Foundation")]
275 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PeerPnrpStartResolve(pcwzpeername : ::windows_sys::core::PCWSTR, pcwzcloudname : ::windows_sys::core::PCWSTR, cmaxendpoints : u32, hevent : super::super::Foundation:: HANDLE, phresolve : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
276 ::windows_targets::link!("p2p.dll" "system" fn PeerPnrpStartup(wversionrequested : u16) -> ::windows_sys::core::HRESULT);
277 ::windows_targets::link!("p2p.dll" "system" fn PeerPnrpUnregister(hregistration : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
278 #[cfg(feature = "Win32_Networking_WinSock")]
279 ::windows_targets::link!("p2p.dll" "system" #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] fn PeerPnrpUpdateRegistration(hregistration : *const ::core::ffi::c_void, pregistrationinfo : *const PEER_PNRP_REGISTRATION_INFO) -> ::windows_sys::core::HRESULT);
280 pub const DRT_ACTIVE: DRT_STATUS = 0i32;
281 pub const DRT_ADDRESS_FLAG_ACCEPTED: DRT_ADDRESS_FLAGS = 1i32;
282 pub const DRT_ADDRESS_FLAG_BAD_VALIDATE_ID: DRT_ADDRESS_FLAGS = 32i32;
283 pub const DRT_ADDRESS_FLAG_INQUIRE: DRT_ADDRESS_FLAGS = 128i32;
284 pub const DRT_ADDRESS_FLAG_LOOP: DRT_ADDRESS_FLAGS = 8i32;
285 pub const DRT_ADDRESS_FLAG_REJECTED: DRT_ADDRESS_FLAGS = 2i32;
286 pub const DRT_ADDRESS_FLAG_SUSPECT_UNREGISTERED_ID: DRT_ADDRESS_FLAGS = 64i32;
287 pub const DRT_ADDRESS_FLAG_TOO_BUSY: DRT_ADDRESS_FLAGS = 16i32;
288 pub const DRT_ADDRESS_FLAG_UNREACHABLE: DRT_ADDRESS_FLAGS = 4i32;
289 pub const DRT_ALONE: DRT_STATUS = 1i32;
290 pub const DRT_EVENT_LEAFSET_KEY_CHANGED: DRT_EVENT_TYPE = 1i32;
291 pub const DRT_EVENT_REGISTRATION_STATE_CHANGED: DRT_EVENT_TYPE = 2i32;
292 pub const DRT_EVENT_STATUS_CHANGED: DRT_EVENT_TYPE = 0i32;
293 pub const DRT_E_BOOTSTRAPPROVIDER_IN_USE: ::windows_sys::core::HRESULT = -2141052914i32;
294 pub const DRT_E_BOOTSTRAPPROVIDER_NOT_ATTACHED: ::windows_sys::core::HRESULT = -2141052913i32;
295 pub const DRT_E_CAPABILITY_MISMATCH: ::windows_sys::core::HRESULT = -2141052657i32;
296 pub const DRT_E_DUPLICATE_KEY: ::windows_sys::core::HRESULT = -2141052919i32;
297 pub const DRT_E_FAULTED: ::windows_sys::core::HRESULT = -2141052662i32;
298 pub const DRT_E_INSUFFICIENT_BUFFER: ::windows_sys::core::HRESULT = -2141052660i32;
299 pub const DRT_E_INVALID_ADDRESS: ::windows_sys::core::HRESULT = -2141052923i32;
300 pub const DRT_E_INVALID_BOOTSTRAP_PROVIDER: ::windows_sys::core::HRESULT = -2141052924i32;
301 pub const DRT_E_INVALID_CERT_CHAIN: ::windows_sys::core::HRESULT = -2141057020i32;
302 pub const DRT_E_INVALID_INSTANCE_PREFIX: ::windows_sys::core::HRESULT = -2141052659i32;
303 pub const DRT_E_INVALID_KEY: ::windows_sys::core::HRESULT = -2141057015i32;
304 pub const DRT_E_INVALID_KEY_SIZE: ::windows_sys::core::HRESULT = -2141057022i32;
305 pub const DRT_E_INVALID_MAX_ADDRESSES: ::windows_sys::core::HRESULT = -2141057017i32;
306 pub const DRT_E_INVALID_MAX_ENDPOINTS: ::windows_sys::core::HRESULT = -2141057007i32;
307 pub const DRT_E_INVALID_MESSAGE: ::windows_sys::core::HRESULT = -2141057019i32;
308 pub const DRT_E_INVALID_PORT: ::windows_sys::core::HRESULT = -2141052928i32;
309 pub const DRT_E_INVALID_SCOPE: ::windows_sys::core::HRESULT = -2141052922i32;
310 pub const DRT_E_INVALID_SEARCH_INFO: ::windows_sys::core::HRESULT = -2141052663i32;
311 pub const DRT_E_INVALID_SEARCH_RANGE: ::windows_sys::core::HRESULT = -2141057006i32;
312 pub const DRT_E_INVALID_SECURITY_MODE: ::windows_sys::core::HRESULT = -2141052658i32;
313 pub const DRT_E_INVALID_SECURITY_PROVIDER: ::windows_sys::core::HRESULT = -2141052926i32;
314 pub const DRT_E_INVALID_SETTINGS: ::windows_sys::core::HRESULT = -2141052664i32;
315 pub const DRT_E_INVALID_TRANSPORT_PROVIDER: ::windows_sys::core::HRESULT = -2141052927i32;
316 pub const DRT_E_NO_ADDRESSES_AVAILABLE: ::windows_sys::core::HRESULT = -2141052920i32;
317 pub const DRT_E_NO_MORE: ::windows_sys::core::HRESULT = -2141057018i32;
318 pub const DRT_E_SEARCH_IN_PROGRESS: ::windows_sys::core::HRESULT = -2141057016i32;
319 pub const DRT_E_SECURITYPROVIDER_IN_USE: ::windows_sys::core::HRESULT = -2141052916i32;
320 pub const DRT_E_SECURITYPROVIDER_NOT_ATTACHED: ::windows_sys::core::HRESULT = -2141052915i32;
321 pub const DRT_E_STILL_IN_USE: ::windows_sys::core::HRESULT = -2141052925i32;
322 pub const DRT_E_TIMEOUT: ::windows_sys::core::HRESULT = -2141057023i32;
323 pub const DRT_E_TRANSPORTPROVIDER_IN_USE: ::windows_sys::core::HRESULT = -2141052918i32;
324 pub const DRT_E_TRANSPORTPROVIDER_NOT_ATTACHED: ::windows_sys::core::HRESULT = -2141052917i32;
325 pub const DRT_E_TRANSPORT_ALREADY_BOUND: ::windows_sys::core::HRESULT = -2141052671i32;
326 pub const DRT_E_TRANSPORT_ALREADY_EXISTS_FOR_SCOPE: ::windows_sys::core::HRESULT = -2141052665i32;
327 pub const DRT_E_TRANSPORT_EXECUTING_CALLBACK: ::windows_sys::core::HRESULT = -2141052666i32;
328 pub const DRT_E_TRANSPORT_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -2141052668i32;
329 pub const DRT_E_TRANSPORT_NOT_BOUND: ::windows_sys::core::HRESULT = -2141052670i32;
330 pub const DRT_E_TRANSPORT_NO_DEST_ADDRESSES: ::windows_sys::core::HRESULT = -2141052667i32;
331 pub const DRT_E_TRANSPORT_SHUTTING_DOWN: ::windows_sys::core::HRESULT = -2141052921i32;
332 pub const DRT_E_TRANSPORT_STILL_BOUND: ::windows_sys::core::HRESULT = -2141052661i32;
333 pub const DRT_E_TRANSPORT_UNEXPECTED: ::windows_sys::core::HRESULT = -2141052669i32;
334 pub const DRT_FAULTED: DRT_STATUS = 20i32;
335 pub const DRT_GLOBAL_SCOPE: DRT_SCOPE = 1i32;
336 pub const DRT_LEAFSET_KEY_ADDED: DRT_LEAFSET_KEY_CHANGE_TYPE = 0i32;
337 pub const DRT_LEAFSET_KEY_DELETED: DRT_LEAFSET_KEY_CHANGE_TYPE = 1i32;
338 pub const DRT_LINK_LOCAL_ISATAP_SCOPEID: u32 = 4294967295u32;
339 pub const DRT_LINK_LOCAL_SCOPE: DRT_SCOPE = 3i32;
340 pub const DRT_MATCH_EXACT: DRT_MATCH_TYPE = 0i32;
341 pub const DRT_MATCH_INTERMEDIATE: DRT_MATCH_TYPE = 2i32;
342 pub const DRT_MATCH_NEAR: DRT_MATCH_TYPE = 1i32;
343 pub const DRT_MAX_INSTANCE_PREFIX_LEN: u32 = 128u32;
344 pub const DRT_MAX_PAYLOAD_SIZE: u32 = 5120u32;
345 pub const DRT_MAX_ROUTING_ADDRESSES: u32 = 20u32;
346 pub const DRT_MIN_ROUTING_ADDRESSES: u32 = 1u32;
347 pub const DRT_NO_NETWORK: DRT_STATUS = 10i32;
348 pub const DRT_PAYLOAD_REVOKED: u32 = 1u32;
349 pub const DRT_REGISTRATION_STATE_UNRESOLVEABLE: DRT_REGISTRATION_STATE = 1i32;
350 pub const DRT_SECURE_CONFIDENTIALPAYLOAD: DRT_SECURITY_MODE = 2i32;
351 pub const DRT_SECURE_MEMBERSHIP: DRT_SECURITY_MODE = 1i32;
352 pub const DRT_SECURE_RESOLVE: DRT_SECURITY_MODE = 0i32;
353 pub const DRT_SITE_LOCAL_SCOPE: DRT_SCOPE = 2i32;
354 pub const DRT_S_RETRY: ::windows_sys::core::HRESULT = 6426640i32;
355 pub const FACILITY_DRT: u32 = 98u32;
356 pub const MaximumPeerDistClientInfoByHandlesClass: PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS = 1i32;
357 pub const NS_PNRPCLOUD: u32 = 39u32;
358 pub const NS_PNRPNAME: u32 = 38u32;
359 pub const NS_PROVIDER_PNRPCLOUD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03fe89ce_766d_4976_b9c1_bb9bc42c7b4d);
360 pub const NS_PROVIDER_PNRPNAME: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x03fe89cd_766d_4976_b9c1_bb9bc42c7b4d);
361 pub const PEERDIST_PUBLICATION_OPTIONS_VERSION: i32 = 2i32;
362 pub const PEERDIST_PUBLICATION_OPTIONS_VERSION_1: i32 = 1i32;
363 pub const PEERDIST_PUBLICATION_OPTIONS_VERSION_2: i32 = 2i32;
364 pub const PEERDIST_READ_TIMEOUT_DEFAULT: u32 = 4294967294u32;
365 pub const PEERDIST_READ_TIMEOUT_LOCAL_CACHE_ONLY: u32 = 0u32;
366 pub const PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = 2u32;
367 pub const PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_1: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = 1u32;
368 pub const PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_2: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = 2u32;
369 pub const PEERDIST_STATUS_AVAILABLE: PEERDIST_STATUS = 2i32;
370 pub const PEERDIST_STATUS_DISABLED: PEERDIST_STATUS = 0i32;
371 pub const PEERDIST_STATUS_UNAVAILABLE: PEERDIST_STATUS = 1i32;
372 pub const PEER_APPLICATION_ALL_USERS: PEER_APPLICATION_REGISTRATION_TYPE = 1i32;
373 pub const PEER_APPLICATION_CURRENT_USER: PEER_APPLICATION_REGISTRATION_TYPE = 0i32;
374 pub const PEER_CHANGE_ADDED: PEER_CHANGE_TYPE = 0i32;
375 pub const PEER_CHANGE_DELETED: PEER_CHANGE_TYPE = 1i32;
376 pub const PEER_CHANGE_UPDATED: PEER_CHANGE_TYPE = 2i32;
377 pub const PEER_COLLAB_OBJECTID_USER_PICTURE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdd15f41f_fc4e_4922_b035_4c06a754d01d);
378 pub const PEER_CONNECTED: PEER_CONNECTION_STATUS = 1i32;
379 pub const PEER_CONNECTION_DIRECT: PEER_CONNECTION_FLAGS = 2i32;
380 pub const PEER_CONNECTION_FAILED: PEER_CONNECTION_STATUS = 3i32;
381 pub const PEER_CONNECTION_NEIGHBOR: PEER_CONNECTION_FLAGS = 1i32;
382 pub const PEER_DEFER_EXPIRATION: PEER_GROUP_PROPERTY_FLAGS = 4i32;
383 pub const PEER_DISABLE_PRESENCE: PEER_GROUP_PROPERTY_FLAGS = 2i32;
384 pub const PEER_DISCONNECTED: PEER_CONNECTION_STATUS = 2i32;
385 pub const PEER_EVENT_ENDPOINT_APPLICATION_CHANGED: PEER_COLLAB_EVENT_TYPE = 4i32;
386 pub const PEER_EVENT_ENDPOINT_CHANGED: PEER_COLLAB_EVENT_TYPE = 2i32;
387 pub const PEER_EVENT_ENDPOINT_OBJECT_CHANGED: PEER_COLLAB_EVENT_TYPE = 5i32;
388 pub const PEER_EVENT_ENDPOINT_PRESENCE_CHANGED: PEER_COLLAB_EVENT_TYPE = 3i32;
389 pub const PEER_EVENT_MY_APPLICATION_CHANGED: PEER_COLLAB_EVENT_TYPE = 8i32;
390 pub const PEER_EVENT_MY_ENDPOINT_CHANGED: PEER_COLLAB_EVENT_TYPE = 6i32;
391 pub const PEER_EVENT_MY_OBJECT_CHANGED: PEER_COLLAB_EVENT_TYPE = 9i32;
392 pub const PEER_EVENT_MY_PRESENCE_CHANGED: PEER_COLLAB_EVENT_TYPE = 7i32;
393 pub const PEER_EVENT_PEOPLE_NEAR_ME_CHANGED: PEER_COLLAB_EVENT_TYPE = 10i32;
394 pub const PEER_EVENT_REQUEST_STATUS_CHANGED: PEER_COLLAB_EVENT_TYPE = 11i32;
395 pub const PEER_EVENT_WATCHLIST_CHANGED: PEER_COLLAB_EVENT_TYPE = 1i32;
396 pub const PEER_E_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -2147024713i32;
397 pub const PEER_E_CLIENT_INVALID_COMPARTMENT_ID: ::windows_sys::core::HRESULT = -2147013390i32;
398 pub const PEER_E_CLOUD_DISABLED: ::windows_sys::core::HRESULT = -2147013394i32;
399 pub const PEER_E_CLOUD_IS_DEAD: ::windows_sys::core::HRESULT = -2147013387i32;
400 pub const PEER_E_CLOUD_IS_SEARCH_ONLY: ::windows_sys::core::HRESULT = -2147013391i32;
401 pub const PEER_E_CLOUD_NOT_FOUND: ::windows_sys::core::HRESULT = -2147013395i32;
402 pub const PEER_E_DISK_FULL: ::windows_sys::core::HRESULT = -2147024784i32;
403 pub const PEER_E_DUPLICATE_PEER_NAME: ::windows_sys::core::HRESULT = -2147013388i32;
404 pub const PEER_E_INVALID_IDENTITY: ::windows_sys::core::HRESULT = -2147013393i32;
405 pub const PEER_E_NOT_FOUND: ::windows_sys::core::HRESULT = -2147023728i32;
406 pub const PEER_E_TOO_MUCH_LOAD: ::windows_sys::core::HRESULT = -2147013392i32;
407 pub const PEER_GRAPH_EVENT_CONNECTION_REQUIRED: PEER_GRAPH_EVENT_TYPE = 7i32;
408 pub const PEER_GRAPH_EVENT_DIRECT_CONNECTION: PEER_GRAPH_EVENT_TYPE = 4i32;
409 pub const PEER_GRAPH_EVENT_INCOMING_DATA: PEER_GRAPH_EVENT_TYPE = 6i32;
410 pub const PEER_GRAPH_EVENT_NEIGHBOR_CONNECTION: PEER_GRAPH_EVENT_TYPE = 5i32;
411 pub const PEER_GRAPH_EVENT_NODE_CHANGED: PEER_GRAPH_EVENT_TYPE = 8i32;
412 pub const PEER_GRAPH_EVENT_PROPERTY_CHANGED: PEER_GRAPH_EVENT_TYPE = 2i32;
413 pub const PEER_GRAPH_EVENT_RECORD_CHANGED: PEER_GRAPH_EVENT_TYPE = 3i32;
414 pub const PEER_GRAPH_EVENT_STATUS_CHANGED: PEER_GRAPH_EVENT_TYPE = 1i32;
415 pub const PEER_GRAPH_EVENT_SYNCHRONIZED: PEER_GRAPH_EVENT_TYPE = 9i32;
416 pub const PEER_GRAPH_PROPERTY_DEFER_EXPIRATION: PEER_GRAPH_PROPERTY_FLAGS = 2i32;
417 pub const PEER_GRAPH_PROPERTY_HEARTBEATS: PEER_GRAPH_PROPERTY_FLAGS = 1i32;
418 pub const PEER_GRAPH_SCOPE_ANY: PEER_GRAPH_SCOPE = 0i32;
419 pub const PEER_GRAPH_SCOPE_GLOBAL: PEER_GRAPH_SCOPE = 1i32;
420 pub const PEER_GRAPH_SCOPE_LINKLOCAL: PEER_GRAPH_SCOPE = 3i32;
421 pub const PEER_GRAPH_SCOPE_LOOPBACK: PEER_GRAPH_SCOPE = 4i32;
422 pub const PEER_GRAPH_SCOPE_SITELOCAL: PEER_GRAPH_SCOPE = 2i32;
423 pub const PEER_GRAPH_STATUS_HAS_CONNECTIONS: PEER_GRAPH_STATUS_FLAGS = 2i32;
424 pub const PEER_GRAPH_STATUS_LISTENING: PEER_GRAPH_STATUS_FLAGS = 1i32;
425 pub const PEER_GRAPH_STATUS_SYNCHRONIZED: PEER_GRAPH_STATUS_FLAGS = 4i32;
426 pub const PEER_GROUP_EVENT_AUTHENTICATION_FAILED: PEER_GROUP_EVENT_TYPE = 11i32;
427 pub const PEER_GROUP_EVENT_CONNECTION_FAILED: PEER_GROUP_EVENT_TYPE = 10i32;
428 pub const PEER_GROUP_EVENT_DIRECT_CONNECTION: PEER_GROUP_EVENT_TYPE = 4i32;
429 pub const PEER_GROUP_EVENT_INCOMING_DATA: PEER_GROUP_EVENT_TYPE = 6i32;
430 pub const PEER_GROUP_EVENT_MEMBER_CHANGED: PEER_GROUP_EVENT_TYPE = 8i32;
431 pub const PEER_GROUP_EVENT_NEIGHBOR_CONNECTION: PEER_GROUP_EVENT_TYPE = 5i32;
432 pub const PEER_GROUP_EVENT_PROPERTY_CHANGED: PEER_GROUP_EVENT_TYPE = 2i32;
433 pub const PEER_GROUP_EVENT_RECORD_CHANGED: PEER_GROUP_EVENT_TYPE = 3i32;
434 pub const PEER_GROUP_EVENT_STATUS_CHANGED: PEER_GROUP_EVENT_TYPE = 1i32;
435 pub const PEER_GROUP_GMC_AUTHENTICATION: PEER_GROUP_AUTHENTICATION_SCHEME = 1i32;
436 pub const PEER_GROUP_PASSWORD_AUTHENTICATION: PEER_GROUP_AUTHENTICATION_SCHEME = 2i32;
437 pub const PEER_GROUP_ROLE_ADMIN: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x04387127_aa56_450a_8ce5_4f565c6790f4);
438 pub const PEER_GROUP_ROLE_INVITING_MEMBER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4370fd89_dc18_4cfb_8dbf_9853a8a9f905);
439 pub const PEER_GROUP_ROLE_MEMBER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf12dc4c7_0857_4ca0_93fc_b1bb19a3d8c2);
440 pub const PEER_GROUP_STATUS_HAS_CONNECTIONS: PEER_GROUP_STATUS = 2i32;
441 pub const PEER_GROUP_STATUS_LISTENING: PEER_GROUP_STATUS = 1i32;
442 pub const PEER_GROUP_STORE_CREDENTIALS: PEER_GROUP_ISSUE_CREDENTIAL_FLAGS = 1i32;
443 pub const PEER_INVITATION_RESPONSE_ACCEPTED: PEER_INVITATION_RESPONSE_TYPE = 1i32;
444 pub const PEER_INVITATION_RESPONSE_DECLINED: PEER_INVITATION_RESPONSE_TYPE = 0i32;
445 pub const PEER_INVITATION_RESPONSE_ERROR: PEER_INVITATION_RESPONSE_TYPE = 3i32;
446 pub const PEER_INVITATION_RESPONSE_EXPIRED: PEER_INVITATION_RESPONSE_TYPE = 2i32;
447 pub const PEER_MEMBER_CONNECTED: PEER_MEMBER_CHANGE_TYPE = 1i32;
448 pub const PEER_MEMBER_DATA_OPTIONAL: PEER_GROUP_PROPERTY_FLAGS = 1i32;
449 pub const PEER_MEMBER_DISCONNECTED: PEER_MEMBER_CHANGE_TYPE = 2i32;
450 pub const PEER_MEMBER_JOINED: PEER_MEMBER_CHANGE_TYPE = 4i32;
451 pub const PEER_MEMBER_LEFT: PEER_MEMBER_CHANGE_TYPE = 5i32;
452 pub const PEER_MEMBER_PRESENT: PEER_MEMBER_FLAGS = 1i32;
453 pub const PEER_MEMBER_UPDATED: PEER_MEMBER_CHANGE_TYPE = 3i32;
454 pub const PEER_NODE_CHANGE_CONNECTED: PEER_NODE_CHANGE_TYPE = 1i32;
455 pub const PEER_NODE_CHANGE_DISCONNECTED: PEER_NODE_CHANGE_TYPE = 2i32;
456 pub const PEER_NODE_CHANGE_UPDATED: PEER_NODE_CHANGE_TYPE = 3i32;
457 pub const PEER_PNRP_ALL_LINK_CLOUDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PEER_PNRP_ALL_LINKS");
458 pub const PEER_PRESENCE_AWAY: PEER_PRESENCE_STATUS = 2i32;
459 pub const PEER_PRESENCE_BE_RIGHT_BACK: PEER_PRESENCE_STATUS = 3i32;
460 pub const PEER_PRESENCE_BUSY: PEER_PRESENCE_STATUS = 5i32;
461 pub const PEER_PRESENCE_IDLE: PEER_PRESENCE_STATUS = 4i32;
462 pub const PEER_PRESENCE_OFFLINE: PEER_PRESENCE_STATUS = 0i32;
463 pub const PEER_PRESENCE_ONLINE: PEER_PRESENCE_STATUS = 7i32;
464 pub const PEER_PRESENCE_ON_THE_PHONE: PEER_PRESENCE_STATUS = 6i32;
465 pub const PEER_PRESENCE_OUT_TO_LUNCH: PEER_PRESENCE_STATUS = 1i32;
466 pub const PEER_PUBLICATION_SCOPE_ALL: PEER_PUBLICATION_SCOPE = 3i32;
467 pub const PEER_PUBLICATION_SCOPE_INTERNET: PEER_PUBLICATION_SCOPE = 2i32;
468 pub const PEER_PUBLICATION_SCOPE_NEAR_ME: PEER_PUBLICATION_SCOPE = 1i32;
469 pub const PEER_PUBLICATION_SCOPE_NONE: PEER_PUBLICATION_SCOPE = 0i32;
470 pub const PEER_RECORD_ADDED: PEER_RECORD_CHANGE_TYPE = 1i32;
471 pub const PEER_RECORD_DELETED: PEER_RECORD_CHANGE_TYPE = 3i32;
472 pub const PEER_RECORD_EXPIRED: PEER_RECORD_CHANGE_TYPE = 4i32;
473 pub const PEER_RECORD_FLAG_AUTOREFRESH: PEER_RECORD_FLAGS = 1i32;
474 pub const PEER_RECORD_FLAG_DELETED: PEER_RECORD_FLAGS = 2i32;
475 pub const PEER_RECORD_UPDATED: PEER_RECORD_CHANGE_TYPE = 2i32;
476 pub const PEER_SIGNIN_ALL: PEER_SIGNIN_FLAGS = 3i32;
477 pub const PEER_SIGNIN_INTERNET: PEER_SIGNIN_FLAGS = 2i32;
478 pub const PEER_SIGNIN_NEAR_ME: PEER_SIGNIN_FLAGS = 1i32;
479 pub const PEER_SIGNIN_NONE: PEER_SIGNIN_FLAGS = 0i32;
480 pub const PEER_WATCH_ALLOWED: PEER_WATCH_PERMISSION = 1i32;
481 pub const PEER_WATCH_BLOCKED: PEER_WATCH_PERMISSION = 0i32;
482 pub const PNRPINFO_HINT: u32 = 1u32;
483 pub const PNRP_CLOUD_FULL_PARTICIPANT: PNRP_CLOUD_FLAGS = 4i32;
484 pub const PNRP_CLOUD_NAME_LOCAL: PNRP_CLOUD_FLAGS = 1i32;
485 pub const PNRP_CLOUD_NO_FLAGS: PNRP_CLOUD_FLAGS = 0i32;
486 pub const PNRP_CLOUD_RESOLVE_ONLY: PNRP_CLOUD_FLAGS = 2i32;
487 pub const PNRP_CLOUD_STATE_ACTIVE: PNRP_CLOUD_STATE = 2i32;
488 pub const PNRP_CLOUD_STATE_ALONE: PNRP_CLOUD_STATE = 6i32;
489 pub const PNRP_CLOUD_STATE_DEAD: PNRP_CLOUD_STATE = 3i32;
490 pub const PNRP_CLOUD_STATE_DISABLED: PNRP_CLOUD_STATE = 4i32;
491 pub const PNRP_CLOUD_STATE_NO_NET: PNRP_CLOUD_STATE = 5i32;
492 pub const PNRP_CLOUD_STATE_SYNCHRONISING: PNRP_CLOUD_STATE = 1i32;
493 pub const PNRP_CLOUD_STATE_VIRTUAL: PNRP_CLOUD_STATE = 0i32;
494 pub const PNRP_EXTENDED_PAYLOAD_TYPE_BINARY: PNRP_EXTENDED_PAYLOAD_TYPE = 1i32;
495 pub const PNRP_EXTENDED_PAYLOAD_TYPE_NONE: PNRP_EXTENDED_PAYLOAD_TYPE = 0i32;
496 pub const PNRP_EXTENDED_PAYLOAD_TYPE_STRING: PNRP_EXTENDED_PAYLOAD_TYPE = 2i32;
497 pub const PNRP_GLOBAL_SCOPE: PNRP_SCOPE = 1i32;
498 pub const PNRP_LINK_LOCAL_SCOPE: PNRP_SCOPE = 3i32;
499 pub const PNRP_MAX_ENDPOINT_ADDRESSES: u32 = 10u32;
500 pub const PNRP_MAX_EXTENDED_PAYLOAD_BYTES: u32 = 4096u32;
501 pub const PNRP_REGISTERED_ID_STATE_OK: PNRP_REGISTERED_ID_STATE = 1i32;
502 pub const PNRP_REGISTERED_ID_STATE_PROBLEM: PNRP_REGISTERED_ID_STATE = 2i32;
503 pub const PNRP_RESOLVE_CRITERIA_ANY_PEER_NAME: PNRP_RESOLVE_CRITERIA = 5i32;
504 pub const PNRP_RESOLVE_CRITERIA_DEFAULT: PNRP_RESOLVE_CRITERIA = 0i32;
505 pub const PNRP_RESOLVE_CRITERIA_NEAREST_NON_CURRENT_PROCESS_PEER_NAME: PNRP_RESOLVE_CRITERIA = 4i32;
506 pub const PNRP_RESOLVE_CRITERIA_NEAREST_PEER_NAME: PNRP_RESOLVE_CRITERIA = 6i32;
507 pub const PNRP_RESOLVE_CRITERIA_NEAREST_REMOTE_PEER_NAME: PNRP_RESOLVE_CRITERIA = 2i32;
508 pub const PNRP_RESOLVE_CRITERIA_NON_CURRENT_PROCESS_PEER_NAME: PNRP_RESOLVE_CRITERIA = 3i32;
509 pub const PNRP_RESOLVE_CRITERIA_REMOTE_PEER_NAME: PNRP_RESOLVE_CRITERIA = 1i32;
510 pub const PNRP_SCOPE_ANY: PNRP_SCOPE = 0i32;
511 pub const PNRP_SITE_LOCAL_SCOPE: PNRP_SCOPE = 2i32;
512 pub const PeerDistClientBasicInfo: PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS = 0i32;
513 pub const SVCID_PNRPCLOUD: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2239ce6_00c0_4fbf_bad6_18139385a49a);
514 pub const SVCID_PNRPNAME_V1: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2239ce5_00c0_4fbf_bad6_18139385a49a);
515 pub const SVCID_PNRPNAME_V2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2239ce7_00c0_4fbf_bad6_18139385a49a);
516 pub const WSA_PNRP_CLIENT_INVALID_COMPARTMENT_ID: u32 = 11506u32;
517 pub const WSA_PNRP_CLOUD_DISABLED: u32 = 11502u32;
518 pub const WSA_PNRP_CLOUD_IS_DEAD: u32 = 11509u32;
519 pub const WSA_PNRP_CLOUD_IS_SEARCH_ONLY: u32 = 11505u32;
520 pub const WSA_PNRP_CLOUD_NOT_FOUND: u32 = 11501u32;
521 pub const WSA_PNRP_DUPLICATE_PEER_NAME: u32 = 11508u32;
522 pub const WSA_PNRP_ERROR_BASE: u32 = 11500u32;
523 pub const WSA_PNRP_INVALID_IDENTITY: u32 = 11503u32;
524 pub const WSA_PNRP_TOO_MUCH_LOAD: u32 = 11504u32;
525 pub const WSZ_SCOPE_GLOBAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GLOBAL");
526 pub const WSZ_SCOPE_LINKLOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LINKLOCAL");
527 pub const WSZ_SCOPE_SITELOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SITELOCAL");
528 pub type DRT_ADDRESS_FLAGS = i32;
529 pub type DRT_EVENT_TYPE = i32;
530 pub type DRT_LEAFSET_KEY_CHANGE_TYPE = i32;
531 pub type DRT_MATCH_TYPE = i32;
532 pub type DRT_REGISTRATION_STATE = i32;
533 pub type DRT_SCOPE = i32;
534 pub type DRT_SECURITY_MODE = i32;
535 pub type DRT_STATUS = i32;
536 pub type PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS = i32;
537 pub type PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE = u32;
538 pub type PEERDIST_STATUS = i32;
539 pub type PEER_APPLICATION_REGISTRATION_TYPE = i32;
540 pub type PEER_CHANGE_TYPE = i32;
541 pub type PEER_COLLAB_EVENT_TYPE = i32;
542 pub type PEER_CONNECTION_FLAGS = i32;
543 pub type PEER_CONNECTION_STATUS = i32;
544 pub type PEER_GRAPH_EVENT_TYPE = i32;
545 pub type PEER_GRAPH_PROPERTY_FLAGS = i32;
546 pub type PEER_GRAPH_SCOPE = i32;
547 pub type PEER_GRAPH_STATUS_FLAGS = i32;
548 pub type PEER_GROUP_AUTHENTICATION_SCHEME = i32;
549 pub type PEER_GROUP_EVENT_TYPE = i32;
550 pub type PEER_GROUP_ISSUE_CREDENTIAL_FLAGS = i32;
551 pub type PEER_GROUP_PROPERTY_FLAGS = i32;
552 pub type PEER_GROUP_STATUS = i32;
553 pub type PEER_INVITATION_RESPONSE_TYPE = i32;
554 pub type PEER_MEMBER_CHANGE_TYPE = i32;
555 pub type PEER_MEMBER_FLAGS = i32;
556 pub type PEER_NODE_CHANGE_TYPE = i32;
557 pub type PEER_PRESENCE_STATUS = i32;
558 pub type PEER_PUBLICATION_SCOPE = i32;
559 pub type PEER_RECORD_CHANGE_TYPE = i32;
560 pub type PEER_RECORD_FLAGS = i32;
561 pub type PEER_SIGNIN_FLAGS = i32;
562 pub type PEER_WATCH_PERMISSION = i32;
563 pub type PNRP_CLOUD_FLAGS = i32;
564 pub type PNRP_CLOUD_STATE = i32;
565 pub type PNRP_EXTENDED_PAYLOAD_TYPE = i32;
566 pub type PNRP_REGISTERED_ID_STATE = i32;
567 pub type PNRP_RESOLVE_CRITERIA = i32;
568 pub type PNRP_SCOPE = i32;
569 #[repr(C)]
570 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
571 #[cfg(feature = "Win32_Networking_WinSock")]
572 pub struct DRT_ADDRESS {
573 pub socketAddress: super::super::Networking::WinSock::SOCKADDR_STORAGE,
574 pub flags: u32,
575 pub nearness: i32,
576 pub latency: u32,
577 }
578 #[cfg(feature = "Win32_Networking_WinSock")]
579 impl ::core::marker::Copy for DRT_ADDRESS {}
580 #[cfg(feature = "Win32_Networking_WinSock")]
581 impl ::core::clone::Clone for DRT_ADDRESS {
582 fn clone(&self) -> Self {
583 *self
584 }
585 }
586 #[repr(C)]
587 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
588 #[cfg(feature = "Win32_Networking_WinSock")]
589 pub struct DRT_ADDRESS_LIST {
590 pub AddressCount: u32,
591 pub AddressList: [DRT_ADDRESS; 1],
592 }
593 #[cfg(feature = "Win32_Networking_WinSock")]
594 impl ::core::marker::Copy for DRT_ADDRESS_LIST {}
595 #[cfg(feature = "Win32_Networking_WinSock")]
596 impl ::core::clone::Clone for DRT_ADDRESS_LIST {
597 fn clone(&self) -> Self {
598 *self
599 }
600 }
601 #[repr(C)]
602 pub struct DRT_BOOTSTRAP_PROVIDER {
603 pub pvContext: *mut ::core::ffi::c_void,
604 pub Attach: isize,
605 pub Detach: isize,
606 pub InitResolve: isize,
607 pub IssueResolve: isize,
608 pub EndResolve: isize,
609 pub Register: isize,
610 pub Unregister: isize,
611 }
612 impl ::core::marker::Copy for DRT_BOOTSTRAP_PROVIDER {}
613 impl ::core::clone::Clone for DRT_BOOTSTRAP_PROVIDER {
614 fn clone(&self) -> Self {
615 *self
616 }
617 }
618 #[repr(C)]
619 pub struct DRT_DATA {
620 pub cb: u32,
621 pub pb: *mut u8,
622 }
623 impl ::core::marker::Copy for DRT_DATA {}
624 impl ::core::clone::Clone for DRT_DATA {
625 fn clone(&self) -> Self {
626 *self
627 }
628 }
629 #[repr(C)]
630 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
631 #[cfg(feature = "Win32_Networking_WinSock")]
632 pub struct DRT_EVENT_DATA {
633 pub r#type: DRT_EVENT_TYPE,
634 pub hr: ::windows_sys::core::HRESULT,
635 pub pvContext: *mut ::core::ffi::c_void,
636 pub Anonymous: DRT_EVENT_DATA_0,
637 }
638 #[cfg(feature = "Win32_Networking_WinSock")]
639 impl ::core::marker::Copy for DRT_EVENT_DATA {}
640 #[cfg(feature = "Win32_Networking_WinSock")]
641 impl ::core::clone::Clone for DRT_EVENT_DATA {
642 fn clone(&self) -> Self {
643 *self
644 }
645 }
646 #[repr(C)]
647 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
648 #[cfg(feature = "Win32_Networking_WinSock")]
649 pub union DRT_EVENT_DATA_0 {
650 pub leafsetKeyChange: DRT_EVENT_DATA_0_0,
651 pub registrationStateChange: DRT_EVENT_DATA_0_1,
652 pub statusChange: DRT_EVENT_DATA_0_2,
653 }
654 #[cfg(feature = "Win32_Networking_WinSock")]
655 impl ::core::marker::Copy for DRT_EVENT_DATA_0 {}
656 #[cfg(feature = "Win32_Networking_WinSock")]
657 impl ::core::clone::Clone for DRT_EVENT_DATA_0 {
658 fn clone(&self) -> Self {
659 *self
660 }
661 }
662 #[repr(C)]
663 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
664 #[cfg(feature = "Win32_Networking_WinSock")]
665 pub struct DRT_EVENT_DATA_0_0 {
666 pub change: DRT_LEAFSET_KEY_CHANGE_TYPE,
667 pub localKey: DRT_DATA,
668 pub remoteKey: DRT_DATA,
669 }
670 #[cfg(feature = "Win32_Networking_WinSock")]
671 impl ::core::marker::Copy for DRT_EVENT_DATA_0_0 {}
672 #[cfg(feature = "Win32_Networking_WinSock")]
673 impl ::core::clone::Clone for DRT_EVENT_DATA_0_0 {
674 fn clone(&self) -> Self {
675 *self
676 }
677 }
678 #[repr(C)]
679 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
680 #[cfg(feature = "Win32_Networking_WinSock")]
681 pub struct DRT_EVENT_DATA_0_1 {
682 pub state: DRT_REGISTRATION_STATE,
683 pub localKey: DRT_DATA,
684 }
685 #[cfg(feature = "Win32_Networking_WinSock")]
686 impl ::core::marker::Copy for DRT_EVENT_DATA_0_1 {}
687 #[cfg(feature = "Win32_Networking_WinSock")]
688 impl ::core::clone::Clone for DRT_EVENT_DATA_0_1 {
689 fn clone(&self) -> Self {
690 *self
691 }
692 }
693 #[repr(C)]
694 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
695 #[cfg(feature = "Win32_Networking_WinSock")]
696 pub struct DRT_EVENT_DATA_0_2 {
697 pub status: DRT_STATUS,
698 pub bootstrapAddresses: DRT_EVENT_DATA_0_2_0,
699 }
700 #[cfg(feature = "Win32_Networking_WinSock")]
701 impl ::core::marker::Copy for DRT_EVENT_DATA_0_2 {}
702 #[cfg(feature = "Win32_Networking_WinSock")]
703 impl ::core::clone::Clone for DRT_EVENT_DATA_0_2 {
704 fn clone(&self) -> Self {
705 *self
706 }
707 }
708 #[repr(C)]
709 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
710 #[cfg(feature = "Win32_Networking_WinSock")]
711 pub struct DRT_EVENT_DATA_0_2_0 {
712 pub cntAddress: u32,
713 pub pAddresses: *mut super::super::Networking::WinSock::SOCKADDR_STORAGE,
714 }
715 #[cfg(feature = "Win32_Networking_WinSock")]
716 impl ::core::marker::Copy for DRT_EVENT_DATA_0_2_0 {}
717 #[cfg(feature = "Win32_Networking_WinSock")]
718 impl ::core::clone::Clone for DRT_EVENT_DATA_0_2_0 {
719 fn clone(&self) -> Self {
720 *self
721 }
722 }
723 #[repr(C)]
724 pub struct DRT_REGISTRATION {
725 pub key: DRT_DATA,
726 pub appData: DRT_DATA,
727 }
728 impl ::core::marker::Copy for DRT_REGISTRATION {}
729 impl ::core::clone::Clone for DRT_REGISTRATION {
730 fn clone(&self) -> Self {
731 *self
732 }
733 }
734 #[repr(C)]
735 #[doc = "Required features: `\"Win32_Foundation\"`"]
736 #[cfg(feature = "Win32_Foundation")]
737 pub struct DRT_SEARCH_INFO {
738 pub dwSize: u32,
739 pub fIterative: super::super::Foundation::BOOL,
740 pub fAllowCurrentInstanceMatch: super::super::Foundation::BOOL,
741 pub fAnyMatchInRange: super::super::Foundation::BOOL,
742 pub cMaxEndpoints: u32,
743 pub pMaximumKey: *mut DRT_DATA,
744 pub pMinimumKey: *mut DRT_DATA,
745 }
746 #[cfg(feature = "Win32_Foundation")]
747 impl ::core::marker::Copy for DRT_SEARCH_INFO {}
748 #[cfg(feature = "Win32_Foundation")]
749 impl ::core::clone::Clone for DRT_SEARCH_INFO {
750 fn clone(&self) -> Self {
751 *self
752 }
753 }
754 #[repr(C)]
755 pub struct DRT_SEARCH_RESULT {
756 pub dwSize: u32,
757 pub r#type: DRT_MATCH_TYPE,
758 pub pvContext: *mut ::core::ffi::c_void,
759 pub registration: DRT_REGISTRATION,
760 }
761 impl ::core::marker::Copy for DRT_SEARCH_RESULT {}
762 impl ::core::clone::Clone for DRT_SEARCH_RESULT {
763 fn clone(&self) -> Self {
764 *self
765 }
766 }
767 #[repr(C)]
768 pub struct DRT_SECURITY_PROVIDER {
769 pub pvContext: *mut ::core::ffi::c_void,
770 pub Attach: isize,
771 pub Detach: isize,
772 pub RegisterKey: isize,
773 pub UnregisterKey: isize,
774 pub ValidateAndUnpackPayload: isize,
775 pub SecureAndPackPayload: isize,
776 pub FreeData: isize,
777 pub EncryptData: isize,
778 pub DecryptData: isize,
779 pub GetSerializedCredential: isize,
780 pub ValidateRemoteCredential: isize,
781 pub SignData: isize,
782 pub VerifyData: isize,
783 }
784 impl ::core::marker::Copy for DRT_SECURITY_PROVIDER {}
785 impl ::core::clone::Clone for DRT_SECURITY_PROVIDER {
786 fn clone(&self) -> Self {
787 *self
788 }
789 }
790 #[repr(C)]
791 pub struct DRT_SETTINGS {
792 pub dwSize: u32,
793 pub cbKey: u32,
794 pub bProtocolMajorVersion: u8,
795 pub bProtocolMinorVersion: u8,
796 pub ulMaxRoutingAddresses: u32,
797 pub pwzDrtInstancePrefix: ::windows_sys::core::PWSTR,
798 pub hTransport: *mut ::core::ffi::c_void,
799 pub pSecurityProvider: *mut DRT_SECURITY_PROVIDER,
800 pub pBootstrapProvider: *mut DRT_BOOTSTRAP_PROVIDER,
801 pub eSecurityMode: DRT_SECURITY_MODE,
802 }
803 impl ::core::marker::Copy for DRT_SETTINGS {}
804 impl ::core::clone::Clone for DRT_SETTINGS {
805 fn clone(&self) -> Self {
806 *self
807 }
808 }
809 #[repr(C)]
810 #[doc = "Required features: `\"Win32_Foundation\"`"]
811 #[cfg(feature = "Win32_Foundation")]
812 pub struct PEERDIST_CLIENT_BASIC_INFO {
813 pub fFlashCrowd: super::super::Foundation::BOOL,
814 }
815 #[cfg(feature = "Win32_Foundation")]
816 impl ::core::marker::Copy for PEERDIST_CLIENT_BASIC_INFO {}
817 #[cfg(feature = "Win32_Foundation")]
818 impl ::core::clone::Clone for PEERDIST_CLIENT_BASIC_INFO {
819 fn clone(&self) -> Self {
820 *self
821 }
822 }
823 #[repr(C)]
824 pub struct PEERDIST_CONTENT_TAG {
825 pub Data: [u8; 16],
826 }
827 impl ::core::marker::Copy for PEERDIST_CONTENT_TAG {}
828 impl ::core::clone::Clone for PEERDIST_CONTENT_TAG {
829 fn clone(&self) -> Self {
830 *self
831 }
832 }
833 #[repr(C)]
834 pub struct PEERDIST_PUBLICATION_OPTIONS {
835 pub dwVersion: u32,
836 pub dwFlags: u32,
837 }
838 impl ::core::marker::Copy for PEERDIST_PUBLICATION_OPTIONS {}
839 impl ::core::clone::Clone for PEERDIST_PUBLICATION_OPTIONS {
840 fn clone(&self) -> Self {
841 *self
842 }
843 }
844 #[repr(C)]
845 pub struct PEERDIST_RETRIEVAL_OPTIONS {
846 pub cbSize: u32,
847 pub dwContentInfoMinVersion: u32,
848 pub dwContentInfoMaxVersion: u32,
849 pub dwReserved: u32,
850 }
851 impl ::core::marker::Copy for PEERDIST_RETRIEVAL_OPTIONS {}
852 impl ::core::clone::Clone for PEERDIST_RETRIEVAL_OPTIONS {
853 fn clone(&self) -> Self {
854 *self
855 }
856 }
857 #[repr(C)]
858 pub struct PEERDIST_STATUS_INFO {
859 pub cbSize: u32,
860 pub status: PEERDIST_STATUS,
861 pub dwMinVer: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE,
862 pub dwMaxVer: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION_VALUE,
863 }
864 impl ::core::marker::Copy for PEERDIST_STATUS_INFO {}
865 impl ::core::clone::Clone for PEERDIST_STATUS_INFO {
866 fn clone(&self) -> Self {
867 *self
868 }
869 }
870 #[repr(C)]
871 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
872 #[cfg(feature = "Win32_Networking_WinSock")]
873 pub struct PEER_ADDRESS {
874 pub dwSize: u32,
875 pub sin6: super::super::Networking::WinSock::SOCKADDR_IN6,
876 }
877 #[cfg(feature = "Win32_Networking_WinSock")]
878 impl ::core::marker::Copy for PEER_ADDRESS {}
879 #[cfg(feature = "Win32_Networking_WinSock")]
880 impl ::core::clone::Clone for PEER_ADDRESS {
881 fn clone(&self) -> Self {
882 *self
883 }
884 }
885 #[repr(C)]
886 pub struct PEER_APPLICATION {
887 pub id: ::windows_sys::core::GUID,
888 pub data: PEER_DATA,
889 pub pwzDescription: ::windows_sys::core::PWSTR,
890 }
891 impl ::core::marker::Copy for PEER_APPLICATION {}
892 impl ::core::clone::Clone for PEER_APPLICATION {
893 fn clone(&self) -> Self {
894 *self
895 }
896 }
897 #[repr(C)]
898 pub struct PEER_APPLICATION_REGISTRATION_INFO {
899 pub application: PEER_APPLICATION,
900 pub pwzApplicationToLaunch: ::windows_sys::core::PWSTR,
901 pub pwzApplicationArguments: ::windows_sys::core::PWSTR,
902 pub dwPublicationScope: u32,
903 }
904 impl ::core::marker::Copy for PEER_APPLICATION_REGISTRATION_INFO {}
905 impl ::core::clone::Clone for PEER_APPLICATION_REGISTRATION_INFO {
906 fn clone(&self) -> Self {
907 *self
908 }
909 }
910 #[repr(C)]
911 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
912 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
913 pub struct PEER_APP_LAUNCH_INFO {
914 pub pContact: *mut PEER_CONTACT,
915 pub pEndpoint: *mut PEER_ENDPOINT,
916 pub pInvitation: *mut PEER_INVITATION,
917 }
918 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
919 impl ::core::marker::Copy for PEER_APP_LAUNCH_INFO {}
920 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
921 impl ::core::clone::Clone for PEER_APP_LAUNCH_INFO {
922 fn clone(&self) -> Self {
923 *self
924 }
925 }
926 #[repr(C)]
927 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
928 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
929 pub struct PEER_COLLAB_EVENT_DATA {
930 pub eventType: PEER_COLLAB_EVENT_TYPE,
931 pub Anonymous: PEER_COLLAB_EVENT_DATA_0,
932 }
933 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
934 impl ::core::marker::Copy for PEER_COLLAB_EVENT_DATA {}
935 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
936 impl ::core::clone::Clone for PEER_COLLAB_EVENT_DATA {
937 fn clone(&self) -> Self {
938 *self
939 }
940 }
941 #[repr(C)]
942 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
943 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
944 pub union PEER_COLLAB_EVENT_DATA_0 {
945 pub watchListChangedData: PEER_EVENT_WATCHLIST_CHANGED_DATA,
946 pub presenceChangedData: PEER_EVENT_PRESENCE_CHANGED_DATA,
947 pub applicationChangedData: PEER_EVENT_APPLICATION_CHANGED_DATA,
948 pub objectChangedData: PEER_EVENT_OBJECT_CHANGED_DATA,
949 pub endpointChangedData: PEER_EVENT_ENDPOINT_CHANGED_DATA,
950 pub peopleNearMeChangedData: PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA,
951 pub requestStatusChangedData: PEER_EVENT_REQUEST_STATUS_CHANGED_DATA,
952 }
953 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
954 impl ::core::marker::Copy for PEER_COLLAB_EVENT_DATA_0 {}
955 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
956 impl ::core::clone::Clone for PEER_COLLAB_EVENT_DATA_0 {
957 fn clone(&self) -> Self {
958 *self
959 }
960 }
961 #[repr(C)]
962 pub struct PEER_COLLAB_EVENT_REGISTRATION {
963 pub eventType: PEER_COLLAB_EVENT_TYPE,
964 pub pInstance: *mut ::windows_sys::core::GUID,
965 }
966 impl ::core::marker::Copy for PEER_COLLAB_EVENT_REGISTRATION {}
967 impl ::core::clone::Clone for PEER_COLLAB_EVENT_REGISTRATION {
968 fn clone(&self) -> Self {
969 *self
970 }
971 }
972 #[repr(C)]
973 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
974 #[cfg(feature = "Win32_Networking_WinSock")]
975 pub struct PEER_CONNECTION_INFO {
976 pub dwSize: u32,
977 pub dwFlags: u32,
978 pub ullConnectionId: u64,
979 pub ullNodeId: u64,
980 pub pwzPeerId: ::windows_sys::core::PWSTR,
981 pub address: PEER_ADDRESS,
982 }
983 #[cfg(feature = "Win32_Networking_WinSock")]
984 impl ::core::marker::Copy for PEER_CONNECTION_INFO {}
985 #[cfg(feature = "Win32_Networking_WinSock")]
986 impl ::core::clone::Clone for PEER_CONNECTION_INFO {
987 fn clone(&self) -> Self {
988 *self
989 }
990 }
991 #[repr(C)]
992 #[doc = "Required features: `\"Win32_Foundation\"`"]
993 #[cfg(feature = "Win32_Foundation")]
994 pub struct PEER_CONTACT {
995 pub pwzPeerName: ::windows_sys::core::PWSTR,
996 pub pwzNickName: ::windows_sys::core::PWSTR,
997 pub pwzDisplayName: ::windows_sys::core::PWSTR,
998 pub pwzEmailAddress: ::windows_sys::core::PWSTR,
999 pub fWatch: super::super::Foundation::BOOL,
1000 pub WatcherPermissions: PEER_WATCH_PERMISSION,
1001 pub credentials: PEER_DATA,
1002 }
1003 #[cfg(feature = "Win32_Foundation")]
1004 impl ::core::marker::Copy for PEER_CONTACT {}
1005 #[cfg(feature = "Win32_Foundation")]
1006 impl ::core::clone::Clone for PEER_CONTACT {
1007 fn clone(&self) -> Self {
1008 *self
1009 }
1010 }
1011 #[repr(C)]
1012 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1013 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1014 pub struct PEER_CREDENTIAL_INFO {
1015 pub dwSize: u32,
1016 pub dwFlags: u32,
1017 pub pwzFriendlyName: ::windows_sys::core::PWSTR,
1018 pub pPublicKey: *mut super::super::Security::Cryptography::CERT_PUBLIC_KEY_INFO,
1019 pub pwzIssuerPeerName: ::windows_sys::core::PWSTR,
1020 pub pwzIssuerFriendlyName: ::windows_sys::core::PWSTR,
1021 pub ftValidityStart: super::super::Foundation::FILETIME,
1022 pub ftValidityEnd: super::super::Foundation::FILETIME,
1023 pub cRoles: u32,
1024 pub pRoles: *mut ::windows_sys::core::GUID,
1025 }
1026 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1027 impl ::core::marker::Copy for PEER_CREDENTIAL_INFO {}
1028 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1029 impl ::core::clone::Clone for PEER_CREDENTIAL_INFO {
1030 fn clone(&self) -> Self {
1031 *self
1032 }
1033 }
1034 #[repr(C)]
1035 pub struct PEER_DATA {
1036 pub cbData: u32,
1037 pub pbData: *mut u8,
1038 }
1039 impl ::core::marker::Copy for PEER_DATA {}
1040 impl ::core::clone::Clone for PEER_DATA {
1041 fn clone(&self) -> Self {
1042 *self
1043 }
1044 }
1045 #[repr(C)]
1046 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1047 #[cfg(feature = "Win32_Networking_WinSock")]
1048 pub struct PEER_ENDPOINT {
1049 pub address: PEER_ADDRESS,
1050 pub pwzEndpointName: ::windows_sys::core::PWSTR,
1051 }
1052 #[cfg(feature = "Win32_Networking_WinSock")]
1053 impl ::core::marker::Copy for PEER_ENDPOINT {}
1054 #[cfg(feature = "Win32_Networking_WinSock")]
1055 impl ::core::clone::Clone for PEER_ENDPOINT {
1056 fn clone(&self) -> Self {
1057 *self
1058 }
1059 }
1060 #[repr(C)]
1061 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
1062 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1063 pub struct PEER_EVENT_APPLICATION_CHANGED_DATA {
1064 pub pContact: *mut PEER_CONTACT,
1065 pub pEndpoint: *mut PEER_ENDPOINT,
1066 pub changeType: PEER_CHANGE_TYPE,
1067 pub pApplication: *mut PEER_APPLICATION,
1068 }
1069 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1070 impl ::core::marker::Copy for PEER_EVENT_APPLICATION_CHANGED_DATA {}
1071 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1072 impl ::core::clone::Clone for PEER_EVENT_APPLICATION_CHANGED_DATA {
1073 fn clone(&self) -> Self {
1074 *self
1075 }
1076 }
1077 #[repr(C)]
1078 pub struct PEER_EVENT_CONNECTION_CHANGE_DATA {
1079 pub dwSize: u32,
1080 pub status: PEER_CONNECTION_STATUS,
1081 pub ullConnectionId: u64,
1082 pub ullNodeId: u64,
1083 pub ullNextConnectionId: u64,
1084 pub hrConnectionFailedReason: ::windows_sys::core::HRESULT,
1085 }
1086 impl ::core::marker::Copy for PEER_EVENT_CONNECTION_CHANGE_DATA {}
1087 impl ::core::clone::Clone for PEER_EVENT_CONNECTION_CHANGE_DATA {
1088 fn clone(&self) -> Self {
1089 *self
1090 }
1091 }
1092 #[repr(C)]
1093 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
1094 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1095 pub struct PEER_EVENT_ENDPOINT_CHANGED_DATA {
1096 pub pContact: *mut PEER_CONTACT,
1097 pub pEndpoint: *mut PEER_ENDPOINT,
1098 }
1099 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1100 impl ::core::marker::Copy for PEER_EVENT_ENDPOINT_CHANGED_DATA {}
1101 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1102 impl ::core::clone::Clone for PEER_EVENT_ENDPOINT_CHANGED_DATA {
1103 fn clone(&self) -> Self {
1104 *self
1105 }
1106 }
1107 #[repr(C)]
1108 pub struct PEER_EVENT_INCOMING_DATA {
1109 pub dwSize: u32,
1110 pub ullConnectionId: u64,
1111 pub r#type: ::windows_sys::core::GUID,
1112 pub data: PEER_DATA,
1113 }
1114 impl ::core::marker::Copy for PEER_EVENT_INCOMING_DATA {}
1115 impl ::core::clone::Clone for PEER_EVENT_INCOMING_DATA {
1116 fn clone(&self) -> Self {
1117 *self
1118 }
1119 }
1120 #[repr(C)]
1121 pub struct PEER_EVENT_MEMBER_CHANGE_DATA {
1122 pub dwSize: u32,
1123 pub changeType: PEER_MEMBER_CHANGE_TYPE,
1124 pub pwzIdentity: ::windows_sys::core::PWSTR,
1125 }
1126 impl ::core::marker::Copy for PEER_EVENT_MEMBER_CHANGE_DATA {}
1127 impl ::core::clone::Clone for PEER_EVENT_MEMBER_CHANGE_DATA {
1128 fn clone(&self) -> Self {
1129 *self
1130 }
1131 }
1132 #[repr(C)]
1133 pub struct PEER_EVENT_NODE_CHANGE_DATA {
1134 pub dwSize: u32,
1135 pub changeType: PEER_NODE_CHANGE_TYPE,
1136 pub ullNodeId: u64,
1137 pub pwzPeerId: ::windows_sys::core::PWSTR,
1138 }
1139 impl ::core::marker::Copy for PEER_EVENT_NODE_CHANGE_DATA {}
1140 impl ::core::clone::Clone for PEER_EVENT_NODE_CHANGE_DATA {
1141 fn clone(&self) -> Self {
1142 *self
1143 }
1144 }
1145 #[repr(C)]
1146 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
1147 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1148 pub struct PEER_EVENT_OBJECT_CHANGED_DATA {
1149 pub pContact: *mut PEER_CONTACT,
1150 pub pEndpoint: *mut PEER_ENDPOINT,
1151 pub changeType: PEER_CHANGE_TYPE,
1152 pub pObject: *mut PEER_OBJECT,
1153 }
1154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1155 impl ::core::marker::Copy for PEER_EVENT_OBJECT_CHANGED_DATA {}
1156 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1157 impl ::core::clone::Clone for PEER_EVENT_OBJECT_CHANGED_DATA {
1158 fn clone(&self) -> Self {
1159 *self
1160 }
1161 }
1162 #[repr(C)]
1163 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1164 #[cfg(feature = "Win32_Networking_WinSock")]
1165 pub struct PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA {
1166 pub changeType: PEER_CHANGE_TYPE,
1167 pub pPeopleNearMe: *mut PEER_PEOPLE_NEAR_ME,
1168 }
1169 #[cfg(feature = "Win32_Networking_WinSock")]
1170 impl ::core::marker::Copy for PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA {}
1171 #[cfg(feature = "Win32_Networking_WinSock")]
1172 impl ::core::clone::Clone for PEER_EVENT_PEOPLE_NEAR_ME_CHANGED_DATA {
1173 fn clone(&self) -> Self {
1174 *self
1175 }
1176 }
1177 #[repr(C)]
1178 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
1179 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1180 pub struct PEER_EVENT_PRESENCE_CHANGED_DATA {
1181 pub pContact: *mut PEER_CONTACT,
1182 pub pEndpoint: *mut PEER_ENDPOINT,
1183 pub changeType: PEER_CHANGE_TYPE,
1184 pub pPresenceInfo: *mut PEER_PRESENCE_INFO,
1185 }
1186 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1187 impl ::core::marker::Copy for PEER_EVENT_PRESENCE_CHANGED_DATA {}
1188 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1189 impl ::core::clone::Clone for PEER_EVENT_PRESENCE_CHANGED_DATA {
1190 fn clone(&self) -> Self {
1191 *self
1192 }
1193 }
1194 #[repr(C)]
1195 pub struct PEER_EVENT_RECORD_CHANGE_DATA {
1196 pub dwSize: u32,
1197 pub changeType: PEER_RECORD_CHANGE_TYPE,
1198 pub recordId: ::windows_sys::core::GUID,
1199 pub recordType: ::windows_sys::core::GUID,
1200 }
1201 impl ::core::marker::Copy for PEER_EVENT_RECORD_CHANGE_DATA {}
1202 impl ::core::clone::Clone for PEER_EVENT_RECORD_CHANGE_DATA {
1203 fn clone(&self) -> Self {
1204 *self
1205 }
1206 }
1207 #[repr(C)]
1208 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1209 #[cfg(feature = "Win32_Networking_WinSock")]
1210 pub struct PEER_EVENT_REQUEST_STATUS_CHANGED_DATA {
1211 pub pEndpoint: *mut PEER_ENDPOINT,
1212 pub hrChange: ::windows_sys::core::HRESULT,
1213 }
1214 #[cfg(feature = "Win32_Networking_WinSock")]
1215 impl ::core::marker::Copy for PEER_EVENT_REQUEST_STATUS_CHANGED_DATA {}
1216 #[cfg(feature = "Win32_Networking_WinSock")]
1217 impl ::core::clone::Clone for PEER_EVENT_REQUEST_STATUS_CHANGED_DATA {
1218 fn clone(&self) -> Self {
1219 *self
1220 }
1221 }
1222 #[repr(C)]
1223 pub struct PEER_EVENT_SYNCHRONIZED_DATA {
1224 pub dwSize: u32,
1225 pub recordType: ::windows_sys::core::GUID,
1226 }
1227 impl ::core::marker::Copy for PEER_EVENT_SYNCHRONIZED_DATA {}
1228 impl ::core::clone::Clone for PEER_EVENT_SYNCHRONIZED_DATA {
1229 fn clone(&self) -> Self {
1230 *self
1231 }
1232 }
1233 #[repr(C)]
1234 #[doc = "Required features: `\"Win32_Foundation\"`"]
1235 #[cfg(feature = "Win32_Foundation")]
1236 pub struct PEER_EVENT_WATCHLIST_CHANGED_DATA {
1237 pub pContact: *mut PEER_CONTACT,
1238 pub changeType: PEER_CHANGE_TYPE,
1239 }
1240 #[cfg(feature = "Win32_Foundation")]
1241 impl ::core::marker::Copy for PEER_EVENT_WATCHLIST_CHANGED_DATA {}
1242 #[cfg(feature = "Win32_Foundation")]
1243 impl ::core::clone::Clone for PEER_EVENT_WATCHLIST_CHANGED_DATA {
1244 fn clone(&self) -> Self {
1245 *self
1246 }
1247 }
1248 #[repr(C)]
1249 pub struct PEER_GRAPH_EVENT_DATA {
1250 pub eventType: PEER_GRAPH_EVENT_TYPE,
1251 pub Anonymous: PEER_GRAPH_EVENT_DATA_0,
1252 }
1253 impl ::core::marker::Copy for PEER_GRAPH_EVENT_DATA {}
1254 impl ::core::clone::Clone for PEER_GRAPH_EVENT_DATA {
1255 fn clone(&self) -> Self {
1256 *self
1257 }
1258 }
1259 #[repr(C)]
1260 pub union PEER_GRAPH_EVENT_DATA_0 {
1261 pub dwStatus: PEER_GRAPH_STATUS_FLAGS,
1262 pub incomingData: PEER_EVENT_INCOMING_DATA,
1263 pub recordChangeData: PEER_EVENT_RECORD_CHANGE_DATA,
1264 pub connectionChangeData: PEER_EVENT_CONNECTION_CHANGE_DATA,
1265 pub nodeChangeData: PEER_EVENT_NODE_CHANGE_DATA,
1266 pub synchronizedData: PEER_EVENT_SYNCHRONIZED_DATA,
1267 }
1268 impl ::core::marker::Copy for PEER_GRAPH_EVENT_DATA_0 {}
1269 impl ::core::clone::Clone for PEER_GRAPH_EVENT_DATA_0 {
1270 fn clone(&self) -> Self {
1271 *self
1272 }
1273 }
1274 #[repr(C)]
1275 pub struct PEER_GRAPH_EVENT_REGISTRATION {
1276 pub eventType: PEER_GRAPH_EVENT_TYPE,
1277 pub pType: *mut ::windows_sys::core::GUID,
1278 }
1279 impl ::core::marker::Copy for PEER_GRAPH_EVENT_REGISTRATION {}
1280 impl ::core::clone::Clone for PEER_GRAPH_EVENT_REGISTRATION {
1281 fn clone(&self) -> Self {
1282 *self
1283 }
1284 }
1285 #[repr(C)]
1286 pub struct PEER_GRAPH_PROPERTIES {
1287 pub dwSize: u32,
1288 pub dwFlags: u32,
1289 pub dwScope: u32,
1290 pub dwMaxRecordSize: u32,
1291 pub pwzGraphId: ::windows_sys::core::PWSTR,
1292 pub pwzCreatorId: ::windows_sys::core::PWSTR,
1293 pub pwzFriendlyName: ::windows_sys::core::PWSTR,
1294 pub pwzComment: ::windows_sys::core::PWSTR,
1295 pub ulPresenceLifetime: u32,
1296 pub cPresenceMax: u32,
1297 }
1298 impl ::core::marker::Copy for PEER_GRAPH_PROPERTIES {}
1299 impl ::core::clone::Clone for PEER_GRAPH_PROPERTIES {
1300 fn clone(&self) -> Self {
1301 *self
1302 }
1303 }
1304 #[repr(C)]
1305 pub struct PEER_GROUP_EVENT_DATA {
1306 pub eventType: PEER_GROUP_EVENT_TYPE,
1307 pub Anonymous: PEER_GROUP_EVENT_DATA_0,
1308 }
1309 impl ::core::marker::Copy for PEER_GROUP_EVENT_DATA {}
1310 impl ::core::clone::Clone for PEER_GROUP_EVENT_DATA {
1311 fn clone(&self) -> Self {
1312 *self
1313 }
1314 }
1315 #[repr(C)]
1316 pub union PEER_GROUP_EVENT_DATA_0 {
1317 pub dwStatus: PEER_GROUP_STATUS,
1318 pub incomingData: PEER_EVENT_INCOMING_DATA,
1319 pub recordChangeData: PEER_EVENT_RECORD_CHANGE_DATA,
1320 pub connectionChangeData: PEER_EVENT_CONNECTION_CHANGE_DATA,
1321 pub memberChangeData: PEER_EVENT_MEMBER_CHANGE_DATA,
1322 pub hrConnectionFailedReason: ::windows_sys::core::HRESULT,
1323 }
1324 impl ::core::marker::Copy for PEER_GROUP_EVENT_DATA_0 {}
1325 impl ::core::clone::Clone for PEER_GROUP_EVENT_DATA_0 {
1326 fn clone(&self) -> Self {
1327 *self
1328 }
1329 }
1330 #[repr(C)]
1331 pub struct PEER_GROUP_EVENT_REGISTRATION {
1332 pub eventType: PEER_GROUP_EVENT_TYPE,
1333 pub pType: *mut ::windows_sys::core::GUID,
1334 }
1335 impl ::core::marker::Copy for PEER_GROUP_EVENT_REGISTRATION {}
1336 impl ::core::clone::Clone for PEER_GROUP_EVENT_REGISTRATION {
1337 fn clone(&self) -> Self {
1338 *self
1339 }
1340 }
1341 #[repr(C)]
1342 pub struct PEER_GROUP_PROPERTIES {
1343 pub dwSize: u32,
1344 pub dwFlags: u32,
1345 pub pwzCloud: ::windows_sys::core::PWSTR,
1346 pub pwzClassifier: ::windows_sys::core::PWSTR,
1347 pub pwzGroupPeerName: ::windows_sys::core::PWSTR,
1348 pub pwzCreatorPeerName: ::windows_sys::core::PWSTR,
1349 pub pwzFriendlyName: ::windows_sys::core::PWSTR,
1350 pub pwzComment: ::windows_sys::core::PWSTR,
1351 pub ulMemberDataLifetime: u32,
1352 pub ulPresenceLifetime: u32,
1353 pub dwAuthenticationSchemes: u32,
1354 pub pwzGroupPassword: ::windows_sys::core::PWSTR,
1355 pub groupPasswordRole: ::windows_sys::core::GUID,
1356 }
1357 impl ::core::marker::Copy for PEER_GROUP_PROPERTIES {}
1358 impl ::core::clone::Clone for PEER_GROUP_PROPERTIES {
1359 fn clone(&self) -> Self {
1360 *self
1361 }
1362 }
1363 #[repr(C)]
1364 pub struct PEER_INVITATION {
1365 pub applicationId: ::windows_sys::core::GUID,
1366 pub applicationData: PEER_DATA,
1367 pub pwzMessage: ::windows_sys::core::PWSTR,
1368 }
1369 impl ::core::marker::Copy for PEER_INVITATION {}
1370 impl ::core::clone::Clone for PEER_INVITATION {
1371 fn clone(&self) -> Self {
1372 *self
1373 }
1374 }
1375 #[repr(C)]
1376 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
1377 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1378 pub struct PEER_INVITATION_INFO {
1379 pub dwSize: u32,
1380 pub dwFlags: u32,
1381 pub pwzCloudName: ::windows_sys::core::PWSTR,
1382 pub dwScope: u32,
1383 pub dwCloudFlags: u32,
1384 pub pwzGroupPeerName: ::windows_sys::core::PWSTR,
1385 pub pwzIssuerPeerName: ::windows_sys::core::PWSTR,
1386 pub pwzSubjectPeerName: ::windows_sys::core::PWSTR,
1387 pub pwzGroupFriendlyName: ::windows_sys::core::PWSTR,
1388 pub pwzIssuerFriendlyName: ::windows_sys::core::PWSTR,
1389 pub pwzSubjectFriendlyName: ::windows_sys::core::PWSTR,
1390 pub ftValidityStart: super::super::Foundation::FILETIME,
1391 pub ftValidityEnd: super::super::Foundation::FILETIME,
1392 pub cRoles: u32,
1393 pub pRoles: *mut ::windows_sys::core::GUID,
1394 pub cClassifiers: u32,
1395 pub ppwzClassifiers: *mut ::windows_sys::core::PWSTR,
1396 pub pSubjectPublicKey: *mut super::super::Security::Cryptography::CERT_PUBLIC_KEY_INFO,
1397 pub authScheme: PEER_GROUP_AUTHENTICATION_SCHEME,
1398 }
1399 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1400 impl ::core::marker::Copy for PEER_INVITATION_INFO {}
1401 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
1402 impl ::core::clone::Clone for PEER_INVITATION_INFO {
1403 fn clone(&self) -> Self {
1404 *self
1405 }
1406 }
1407 #[repr(C)]
1408 pub struct PEER_INVITATION_RESPONSE {
1409 pub action: PEER_INVITATION_RESPONSE_TYPE,
1410 pub pwzMessage: ::windows_sys::core::PWSTR,
1411 pub hrExtendedInfo: ::windows_sys::core::HRESULT,
1412 }
1413 impl ::core::marker::Copy for PEER_INVITATION_RESPONSE {}
1414 impl ::core::clone::Clone for PEER_INVITATION_RESPONSE {
1415 fn clone(&self) -> Self {
1416 *self
1417 }
1418 }
1419 #[repr(C)]
1420 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_Security_Cryptography\"`"]
1421 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
1422 pub struct PEER_MEMBER {
1423 pub dwSize: u32,
1424 pub dwFlags: u32,
1425 pub pwzIdentity: ::windows_sys::core::PWSTR,
1426 pub pwzAttributes: ::windows_sys::core::PWSTR,
1427 pub ullNodeId: u64,
1428 pub cAddresses: u32,
1429 pub pAddresses: *mut PEER_ADDRESS,
1430 pub pCredentialInfo: *mut PEER_CREDENTIAL_INFO,
1431 }
1432 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
1433 impl ::core::marker::Copy for PEER_MEMBER {}
1434 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_Security_Cryptography"))]
1435 impl ::core::clone::Clone for PEER_MEMBER {
1436 fn clone(&self) -> Self {
1437 *self
1438 }
1439 }
1440 #[repr(C)]
1441 pub struct PEER_NAME_PAIR {
1442 pub dwSize: u32,
1443 pub pwzPeerName: ::windows_sys::core::PWSTR,
1444 pub pwzFriendlyName: ::windows_sys::core::PWSTR,
1445 }
1446 impl ::core::marker::Copy for PEER_NAME_PAIR {}
1447 impl ::core::clone::Clone for PEER_NAME_PAIR {
1448 fn clone(&self) -> Self {
1449 *self
1450 }
1451 }
1452 #[repr(C)]
1453 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1454 #[cfg(feature = "Win32_Networking_WinSock")]
1455 pub struct PEER_NODE_INFO {
1456 pub dwSize: u32,
1457 pub ullNodeId: u64,
1458 pub pwzPeerId: ::windows_sys::core::PWSTR,
1459 pub cAddresses: u32,
1460 pub pAddresses: *mut PEER_ADDRESS,
1461 pub pwzAttributes: ::windows_sys::core::PWSTR,
1462 }
1463 #[cfg(feature = "Win32_Networking_WinSock")]
1464 impl ::core::marker::Copy for PEER_NODE_INFO {}
1465 #[cfg(feature = "Win32_Networking_WinSock")]
1466 impl ::core::clone::Clone for PEER_NODE_INFO {
1467 fn clone(&self) -> Self {
1468 *self
1469 }
1470 }
1471 #[repr(C)]
1472 pub struct PEER_OBJECT {
1473 pub id: ::windows_sys::core::GUID,
1474 pub data: PEER_DATA,
1475 pub dwPublicationScope: u32,
1476 }
1477 impl ::core::marker::Copy for PEER_OBJECT {}
1478 impl ::core::clone::Clone for PEER_OBJECT {
1479 fn clone(&self) -> Self {
1480 *self
1481 }
1482 }
1483 #[repr(C)]
1484 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1485 #[cfg(feature = "Win32_Networking_WinSock")]
1486 pub struct PEER_PEOPLE_NEAR_ME {
1487 pub pwzNickName: ::windows_sys::core::PWSTR,
1488 pub endpoint: PEER_ENDPOINT,
1489 pub id: ::windows_sys::core::GUID,
1490 }
1491 #[cfg(feature = "Win32_Networking_WinSock")]
1492 impl ::core::marker::Copy for PEER_PEOPLE_NEAR_ME {}
1493 #[cfg(feature = "Win32_Networking_WinSock")]
1494 impl ::core::clone::Clone for PEER_PEOPLE_NEAR_ME {
1495 fn clone(&self) -> Self {
1496 *self
1497 }
1498 }
1499 #[repr(C)]
1500 pub struct PEER_PNRP_CLOUD_INFO {
1501 pub pwzCloudName: ::windows_sys::core::PWSTR,
1502 pub dwScope: PNRP_SCOPE,
1503 pub dwScopeId: u32,
1504 }
1505 impl ::core::marker::Copy for PEER_PNRP_CLOUD_INFO {}
1506 impl ::core::clone::Clone for PEER_PNRP_CLOUD_INFO {
1507 fn clone(&self) -> Self {
1508 *self
1509 }
1510 }
1511 #[repr(C)]
1512 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1513 #[cfg(feature = "Win32_Networking_WinSock")]
1514 pub struct PEER_PNRP_ENDPOINT_INFO {
1515 pub pwzPeerName: ::windows_sys::core::PWSTR,
1516 pub cAddresses: u32,
1517 pub ppAddresses: *mut *mut super::super::Networking::WinSock::SOCKADDR,
1518 pub pwzComment: ::windows_sys::core::PWSTR,
1519 pub payload: PEER_DATA,
1520 }
1521 #[cfg(feature = "Win32_Networking_WinSock")]
1522 impl ::core::marker::Copy for PEER_PNRP_ENDPOINT_INFO {}
1523 #[cfg(feature = "Win32_Networking_WinSock")]
1524 impl ::core::clone::Clone for PEER_PNRP_ENDPOINT_INFO {
1525 fn clone(&self) -> Self {
1526 *self
1527 }
1528 }
1529 #[repr(C)]
1530 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1531 #[cfg(feature = "Win32_Networking_WinSock")]
1532 pub struct PEER_PNRP_REGISTRATION_INFO {
1533 pub pwzCloudName: ::windows_sys::core::PWSTR,
1534 pub pwzPublishingIdentity: ::windows_sys::core::PWSTR,
1535 pub cAddresses: u32,
1536 pub ppAddresses: *mut *mut super::super::Networking::WinSock::SOCKADDR,
1537 pub wPort: u16,
1538 pub pwzComment: ::windows_sys::core::PWSTR,
1539 pub payload: PEER_DATA,
1540 }
1541 #[cfg(feature = "Win32_Networking_WinSock")]
1542 impl ::core::marker::Copy for PEER_PNRP_REGISTRATION_INFO {}
1543 #[cfg(feature = "Win32_Networking_WinSock")]
1544 impl ::core::clone::Clone for PEER_PNRP_REGISTRATION_INFO {
1545 fn clone(&self) -> Self {
1546 *self
1547 }
1548 }
1549 #[repr(C)]
1550 pub struct PEER_PRESENCE_INFO {
1551 pub status: PEER_PRESENCE_STATUS,
1552 pub pwzDescriptiveText: ::windows_sys::core::PWSTR,
1553 }
1554 impl ::core::marker::Copy for PEER_PRESENCE_INFO {}
1555 impl ::core::clone::Clone for PEER_PRESENCE_INFO {
1556 fn clone(&self) -> Self {
1557 *self
1558 }
1559 }
1560 #[repr(C)]
1561 #[doc = "Required features: `\"Win32_Foundation\"`"]
1562 #[cfg(feature = "Win32_Foundation")]
1563 pub struct PEER_RECORD {
1564 pub dwSize: u32,
1565 pub r#type: ::windows_sys::core::GUID,
1566 pub id: ::windows_sys::core::GUID,
1567 pub dwVersion: u32,
1568 pub dwFlags: u32,
1569 pub pwzCreatorId: ::windows_sys::core::PWSTR,
1570 pub pwzModifiedById: ::windows_sys::core::PWSTR,
1571 pub pwzAttributes: ::windows_sys::core::PWSTR,
1572 pub ftCreation: super::super::Foundation::FILETIME,
1573 pub ftExpiration: super::super::Foundation::FILETIME,
1574 pub ftLastModified: super::super::Foundation::FILETIME,
1575 pub securityData: PEER_DATA,
1576 pub data: PEER_DATA,
1577 }
1578 #[cfg(feature = "Win32_Foundation")]
1579 impl ::core::marker::Copy for PEER_RECORD {}
1580 #[cfg(feature = "Win32_Foundation")]
1581 impl ::core::clone::Clone for PEER_RECORD {
1582 fn clone(&self) -> Self {
1583 *self
1584 }
1585 }
1586 #[repr(C)]
1587 #[doc = "Required features: `\"Win32_Foundation\"`"]
1588 #[cfg(feature = "Win32_Foundation")]
1589 pub struct PEER_SECURITY_INTERFACE {
1590 pub dwSize: u32,
1591 pub pwzSspFilename: ::windows_sys::core::PWSTR,
1592 pub pwzPackageName: ::windows_sys::core::PWSTR,
1593 pub cbSecurityInfo: u32,
1594 pub pbSecurityInfo: *mut u8,
1595 pub pvContext: *mut ::core::ffi::c_void,
1596 pub pfnValidateRecord: PFNPEER_VALIDATE_RECORD,
1597 pub pfnSecureRecord: PFNPEER_SECURE_RECORD,
1598 pub pfnFreeSecurityData: PFNPEER_FREE_SECURITY_DATA,
1599 pub pfnAuthFailed: PFNPEER_ON_PASSWORD_AUTH_FAILED,
1600 }
1601 #[cfg(feature = "Win32_Foundation")]
1602 impl ::core::marker::Copy for PEER_SECURITY_INTERFACE {}
1603 #[cfg(feature = "Win32_Foundation")]
1604 impl ::core::clone::Clone for PEER_SECURITY_INTERFACE {
1605 fn clone(&self) -> Self {
1606 *self
1607 }
1608 }
1609 #[repr(C)]
1610 pub struct PEER_VERSION_DATA {
1611 pub wVersion: u16,
1612 pub wHighestVersion: u16,
1613 }
1614 impl ::core::marker::Copy for PEER_VERSION_DATA {}
1615 impl ::core::clone::Clone for PEER_VERSION_DATA {
1616 fn clone(&self) -> Self {
1617 *self
1618 }
1619 }
1620 #[repr(C)]
1621 pub struct PNRPCLOUDINFO {
1622 pub dwSize: u32,
1623 pub Cloud: PNRP_CLOUD_ID,
1624 pub enCloudState: PNRP_CLOUD_STATE,
1625 pub enCloudFlags: PNRP_CLOUD_FLAGS,
1626 }
1627 impl ::core::marker::Copy for PNRPCLOUDINFO {}
1628 impl ::core::clone::Clone for PNRPCLOUDINFO {
1629 fn clone(&self) -> Self {
1630 *self
1631 }
1632 }
1633 #[repr(C)]
1634 #[doc = "Required features: `\"Win32_Networking_WinSock\"`"]
1635 #[cfg(feature = "Win32_Networking_WinSock")]
1636 pub struct PNRPINFO_V1 {
1637 pub dwSize: u32,
1638 pub lpwszIdentity: ::windows_sys::core::PWSTR,
1639 pub nMaxResolve: u32,
1640 pub dwTimeout: u32,
1641 pub dwLifetime: u32,
1642 pub enResolveCriteria: PNRP_RESOLVE_CRITERIA,
1643 pub dwFlags: u32,
1644 pub saHint: super::super::Networking::WinSock::SOCKET_ADDRESS,
1645 pub enNameState: PNRP_REGISTERED_ID_STATE,
1646 }
1647 #[cfg(feature = "Win32_Networking_WinSock")]
1648 impl ::core::marker::Copy for PNRPINFO_V1 {}
1649 #[cfg(feature = "Win32_Networking_WinSock")]
1650 impl ::core::clone::Clone for PNRPINFO_V1 {
1651 fn clone(&self) -> Self {
1652 *self
1653 }
1654 }
1655 #[repr(C)]
1656 #[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`"]
1657 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))]
1658 pub struct PNRPINFO_V2 {
1659 pub dwSize: u32,
1660 pub lpwszIdentity: ::windows_sys::core::PWSTR,
1661 pub nMaxResolve: u32,
1662 pub dwTimeout: u32,
1663 pub dwLifetime: u32,
1664 pub enResolveCriteria: PNRP_RESOLVE_CRITERIA,
1665 pub dwFlags: u32,
1666 pub saHint: super::super::Networking::WinSock::SOCKET_ADDRESS,
1667 pub enNameState: PNRP_REGISTERED_ID_STATE,
1668 pub enExtendedPayloadType: PNRP_EXTENDED_PAYLOAD_TYPE,
1669 pub Anonymous: PNRPINFO_V2_0,
1670 }
1671 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))]
1672 impl ::core::marker::Copy for PNRPINFO_V2 {}
1673 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))]
1674 impl ::core::clone::Clone for PNRPINFO_V2 {
1675 fn clone(&self) -> Self {
1676 *self
1677 }
1678 }
1679 #[repr(C)]
1680 #[doc = "Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`"]
1681 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))]
1682 pub union PNRPINFO_V2_0 {
1683 pub blobPayload: super::super::System::Com::BLOB,
1684 pub pwszPayload: ::windows_sys::core::PWSTR,
1685 }
1686 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))]
1687 impl ::core::marker::Copy for PNRPINFO_V2_0 {}
1688 #[cfg(all(feature = "Win32_Networking_WinSock", feature = "Win32_System_Com"))]
1689 impl ::core::clone::Clone for PNRPINFO_V2_0 {
1690 fn clone(&self) -> Self {
1691 *self
1692 }
1693 }
1694 #[repr(C)]
1695 pub struct PNRP_CLOUD_ID {
1696 pub AddressFamily: i32,
1697 pub Scope: PNRP_SCOPE,
1698 pub ScopeId: u32,
1699 }
1700 impl ::core::marker::Copy for PNRP_CLOUD_ID {}
1701 impl ::core::clone::Clone for PNRP_CLOUD_ID {
1702 fn clone(&self) -> Self {
1703 *self
1704 }
1705 }
1706 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`"]
1707 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))]
1708 pub type DRT_BOOTSTRAP_RESOLVE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(hr: ::windows_sys::core::HRESULT, pvcontext: *mut ::core::ffi::c_void, paddresses: *mut super::super::Networking::WinSock::SOCKET_ADDRESS_LIST, ffatalerror: super::super::Foundation::BOOL) -> ()>;
1709 pub type PFNPEER_FREE_SECURITY_DATA = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void, psecuritydata: *const PEER_DATA) -> ::windows_sys::core::HRESULT>;
1710 pub type PFNPEER_ON_PASSWORD_AUTH_FAILED = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
1711 #[doc = "Required features: `\"Win32_Foundation\"`"]
1712 #[cfg(feature = "Win32_Foundation")]
1713 pub type PFNPEER_SECURE_RECORD = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void, precord: *const PEER_RECORD, changetype: PEER_RECORD_CHANGE_TYPE, ppsecuritydata: *mut *mut PEER_DATA) -> ::windows_sys::core::HRESULT>;
1714 #[doc = "Required features: `\"Win32_Foundation\"`"]
1715 #[cfg(feature = "Win32_Foundation")]
1716 pub type PFNPEER_VALIDATE_RECORD = ::core::option::Option<unsafe extern "system" fn(hgraph: *const ::core::ffi::c_void, pvcontext: *const ::core::ffi::c_void, precord: *const PEER_RECORD, changetype: PEER_RECORD_CHANGE_TYPE) -> ::windows_sys::core::HRESULT>;