Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredDeleteA(targetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredDeleteW(targetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredEnumerateA(filter : ::windows_sys::core::PCSTR, flags : CRED_ENUMERATE_FLAGS, count : *mut u32, credential : *mut *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL);
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredEnumerateW(filter : ::windows_sys::core::PCWSTR, flags : CRED_ENUMERATE_FLAGS, count : *mut u32, credential : *mut *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL);
9 #[cfg(feature = "Win32_Foundation")]
10 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredFindBestCredentialA(targetname : ::windows_sys::core::PCSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL);
11 #[cfg(feature = "Win32_Foundation")]
12 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredFindBestCredentialW(targetname : ::windows_sys::core::PCWSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL);
13 ::windows_targets::link!("advapi32.dll" "system" fn CredFree(buffer : *const ::core::ffi::c_void) -> ());
14 #[cfg(feature = "Win32_Foundation")]
15 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredGetSessionTypes(maximumpersistcount : u32, maximumpersist : *mut u32) -> super::super::Foundation:: BOOL);
16 #[cfg(feature = "Win32_Foundation")]
17 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredGetTargetInfoA(targetname : ::windows_sys::core::PCSTR, flags : u32, targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONA) -> super::super::Foundation:: BOOL);
18 #[cfg(feature = "Win32_Foundation")]
19 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredGetTargetInfoW(targetname : ::windows_sys::core::PCWSTR, flags : u32, targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONW) -> super::super::Foundation:: BOOL);
20 #[cfg(feature = "Win32_Foundation")]
21 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsMarshaledCredentialA(marshaledcredential : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL);
22 #[cfg(feature = "Win32_Foundation")]
23 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsMarshaledCredentialW(marshaledcredential : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL);
24 #[cfg(feature = "Win32_Foundation")]
25 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsProtectedA(pszprotectedcredentials : ::windows_sys::core::PCSTR, pprotectiontype : *mut CRED_PROTECTION_TYPE) -> super::super::Foundation:: BOOL);
26 #[cfg(feature = "Win32_Foundation")]
27 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsProtectedW(pszprotectedcredentials : ::windows_sys::core::PCWSTR, pprotectiontype : *mut CRED_PROTECTION_TYPE) -> super::super::Foundation:: BOOL);
28 #[cfg(feature = "Win32_Foundation")]
29 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredMarshalCredentialA(credtype : CRED_MARSHAL_TYPE, credential : *const ::core::ffi::c_void, marshaledcredential : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL);
30 #[cfg(feature = "Win32_Foundation")]
31 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredMarshalCredentialW(credtype : CRED_MARSHAL_TYPE, credential : *const ::core::ffi::c_void, marshaledcredential : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL);
32 #[cfg(feature = "Win32_Foundation")]
33 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredPackAuthenticationBufferA(dwflags : CRED_PACK_FLAGS, pszusername : ::windows_sys::core::PCSTR, pszpassword : ::windows_sys::core::PCSTR, ppackedcredentials : *mut u8, pcbpackedcredentials : *mut u32) -> super::super::Foundation:: BOOL);
34 #[cfg(feature = "Win32_Foundation")]
35 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredPackAuthenticationBufferW(dwflags : CRED_PACK_FLAGS, pszusername : ::windows_sys::core::PCWSTR, pszpassword : ::windows_sys::core::PCWSTR, ppackedcredentials : *mut u8, pcbpackedcredentials : *mut u32) -> super::super::Foundation:: BOOL);
36 #[cfg(feature = "Win32_Foundation")]
37 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredProtectA(fasself : super::super::Foundation:: BOOL, pszcredentials : ::windows_sys::core::PCSTR, cchcredentials : u32, pszprotectedcredentials : ::windows_sys::core::PSTR, pcchmaxchars : *mut u32, protectiontype : *mut CRED_PROTECTION_TYPE) -> super::super::Foundation:: BOOL);
38 #[cfg(feature = "Win32_Foundation")]
39 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredProtectW(fasself : super::super::Foundation:: BOOL, pszcredentials : ::windows_sys::core::PCWSTR, cchcredentials : u32, pszprotectedcredentials : ::windows_sys::core::PWSTR, pcchmaxchars : *mut u32, protectiontype : *mut CRED_PROTECTION_TYPE) -> super::super::Foundation:: BOOL);
40 #[cfg(feature = "Win32_Foundation")]
41 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadA(targetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL);
42 #[cfg(feature = "Win32_Foundation")]
43 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadDomainCredentialsA(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA, flags : u32, count : *mut u32, credential : *mut *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL);
44 #[cfg(feature = "Win32_Foundation")]
45 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadDomainCredentialsW(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW, flags : u32, count : *mut u32, credential : *mut *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL);
46 #[cfg(feature = "Win32_Foundation")]
47 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadW(targetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL);
48 #[cfg(feature = "Win32_Foundation")]
49 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredRenameA(oldtargetname : ::windows_sys::core::PCSTR, newtargetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL);
50 #[cfg(feature = "Win32_Foundation")]
51 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredRenameW(oldtargetname : ::windows_sys::core::PCWSTR, newtargetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL);
52 #[cfg(feature = "Win32_Foundation")]
53 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUICmdLinePromptForCredentialsA(psztargetname : ::windows_sys::core::PCSTR, pcontext : *const SecHandle, dwautherror : u32, username : ::windows_sys::core::PSTR, uluserbuffersize : u32, pszpassword : ::windows_sys::core::PSTR, ulpasswordbuffersize : u32, pfsave : *mut super::super::Foundation:: BOOL, dwflags : CREDUI_FLAGS) -> u32);
54 #[cfg(feature = "Win32_Foundation")]
55 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUICmdLinePromptForCredentialsW(psztargetname : ::windows_sys::core::PCWSTR, pcontext : *const SecHandle, dwautherror : u32, username : ::windows_sys::core::PWSTR, uluserbuffersize : u32, pszpassword : ::windows_sys::core::PWSTR, ulpasswordbuffersize : u32, pfsave : *mut super::super::Foundation:: BOOL, dwflags : CREDUI_FLAGS) -> u32);
56 #[cfg(feature = "Win32_Foundation")]
57 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUIConfirmCredentialsA(psztargetname : ::windows_sys::core::PCSTR, bconfirm : super::super::Foundation:: BOOL) -> u32);
58 #[cfg(feature = "Win32_Foundation")]
59 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUIConfirmCredentialsW(psztargetname : ::windows_sys::core::PCWSTR, bconfirm : super::super::Foundation:: BOOL) -> u32);
60 ::windows_targets::link!("credui.dll" "system" fn CredUIParseUserNameA(username : ::windows_sys::core::PCSTR, user : ::windows_sys::core::PSTR, userbuffersize : u32, domain : ::windows_sys::core::PSTR, domainbuffersize : u32) -> u32);
61 ::windows_targets::link!("credui.dll" "system" fn CredUIParseUserNameW(username : ::windows_sys::core::PCWSTR, user : ::windows_sys::core::PWSTR, userbuffersize : u32, domain : ::windows_sys::core::PWSTR, domainbuffersize : u32) -> u32);
62 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
63 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn CredUIPromptForCredentialsA(puiinfo : *const CREDUI_INFOA, psztargetname : ::windows_sys::core::PCSTR, pcontext : *const SecHandle, dwautherror : u32, pszusername : ::windows_sys::core::PSTR, ulusernamebuffersize : u32, pszpassword : ::windows_sys::core::PSTR, ulpasswordbuffersize : u32, save : *mut super::super::Foundation:: BOOL, dwflags : CREDUI_FLAGS) -> u32);
64 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
65 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn CredUIPromptForCredentialsW(puiinfo : *const CREDUI_INFOW, psztargetname : ::windows_sys::core::PCWSTR, pcontext : *const SecHandle, dwautherror : u32, pszusername : ::windows_sys::core::PWSTR, ulusernamebuffersize : u32, pszpassword : ::windows_sys::core::PWSTR, ulpasswordbuffersize : u32, save : *mut super::super::Foundation:: BOOL, dwflags : CREDUI_FLAGS) -> u32);
66 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
67 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn CredUIPromptForWindowsCredentialsA(puiinfo : *const CREDUI_INFOA, dwautherror : u32, pulauthpackage : *mut u32, pvinauthbuffer : *const ::core::ffi::c_void, ulinauthbuffersize : u32, ppvoutauthbuffer : *mut *mut ::core::ffi::c_void, puloutauthbuffersize : *mut u32, pfsave : *mut super::super::Foundation:: BOOL, dwflags : CREDUIWIN_FLAGS) -> u32);
68 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
69 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn CredUIPromptForWindowsCredentialsW(puiinfo : *const CREDUI_INFOW, dwautherror : u32, pulauthpackage : *mut u32, pvinauthbuffer : *const ::core::ffi::c_void, ulinauthbuffersize : u32, ppvoutauthbuffer : *mut *mut ::core::ffi::c_void, puloutauthbuffersize : *mut u32, pfsave : *mut super::super::Foundation:: BOOL, dwflags : CREDUIWIN_FLAGS) -> u32);
70 ::windows_targets::link!("credui.dll" "system" fn CredUIReadSSOCredW(pszrealm : ::windows_sys::core::PCWSTR, ppszusername : *mut ::windows_sys::core::PWSTR) -> u32);
71 #[cfg(feature = "Win32_Foundation")]
72 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUIStoreSSOCredW(pszrealm : ::windows_sys::core::PCWSTR, pszusername : ::windows_sys::core::PCWSTR, pszpassword : ::windows_sys::core::PCWSTR, bpersist : super::super::Foundation:: BOOL) -> u32);
73 #[cfg(feature = "Win32_Foundation")]
74 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnPackAuthenticationBufferA(dwflags : CRED_PACK_FLAGS, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, pszusername : ::windows_sys::core::PSTR, pcchlmaxusername : *mut u32, pszdomainname : ::windows_sys::core::PSTR, pcchmaxdomainname : *mut u32, pszpassword : ::windows_sys::core::PSTR, pcchmaxpassword : *mut u32) -> super::super::Foundation:: BOOL);
75 #[cfg(feature = "Win32_Foundation")]
76 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnPackAuthenticationBufferW(dwflags : CRED_PACK_FLAGS, pauthbuffer : *const ::core::ffi::c_void, cbauthbuffer : u32, pszusername : ::windows_sys::core::PWSTR, pcchmaxusername : *mut u32, pszdomainname : ::windows_sys::core::PWSTR, pcchmaxdomainname : *mut u32, pszpassword : ::windows_sys::core::PWSTR, pcchmaxpassword : *mut u32) -> super::super::Foundation:: BOOL);
77 #[cfg(feature = "Win32_Foundation")]
78 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnmarshalCredentialA(marshaledcredential : ::windows_sys::core::PCSTR, credtype : *mut CRED_MARSHAL_TYPE, credential : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
79 #[cfg(feature = "Win32_Foundation")]
80 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnmarshalCredentialW(marshaledcredential : ::windows_sys::core::PCWSTR, credtype : *mut CRED_MARSHAL_TYPE, credential : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL);
81 #[cfg(feature = "Win32_Foundation")]
82 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnprotectA(fasself : super::super::Foundation:: BOOL, pszprotectedcredentials : ::windows_sys::core::PCSTR, cchprotectedcredentials : u32, pszcredentials : ::windows_sys::core::PSTR, pcchmaxchars : *mut u32) -> super::super::Foundation:: BOOL);
83 #[cfg(feature = "Win32_Foundation")]
84 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnprotectW(fasself : super::super::Foundation:: BOOL, pszprotectedcredentials : ::windows_sys::core::PCWSTR, cchprotectedcredentials : u32, pszcredentials : ::windows_sys::core::PWSTR, pcchmaxchars : *mut u32) -> super::super::Foundation:: BOOL);
85 #[cfg(feature = "Win32_Foundation")]
86 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteA(credential : *const CREDENTIALA, flags : u32) -> super::super::Foundation:: BOOL);
87 #[cfg(feature = "Win32_Foundation")]
88 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteDomainCredentialsA(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA, credential : *const CREDENTIALA, flags : u32) -> super::super::Foundation:: BOOL);
89 #[cfg(feature = "Win32_Foundation")]
90 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteDomainCredentialsW(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW, credential : *const CREDENTIALW, flags : u32) -> super::super::Foundation:: BOOL);
91 #[cfg(feature = "Win32_Foundation")]
92 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteW(credential : *const CREDENTIALW, flags : u32) -> super::super::Foundation:: BOOL);
93 #[cfg(feature = "Win32_Foundation")]
94 ::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenCardNameA(param0 : *mut OPENCARDNAMEA) -> i32);
95 #[cfg(feature = "Win32_Foundation")]
96 ::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenCardNameW(param0 : *mut OPENCARDNAMEW) -> i32);
97 ::windows_targets::link!("keycredmgr.dll" "system" fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo : *const KeyCredentialManagerInfo) -> ());
98 ::windows_targets::link!("keycredmgr.dll" "system" fn KeyCredentialManagerGetInformation(keycredentialmanagerinfo : *mut *mut KeyCredentialManagerInfo) -> ::windows_sys::core::HRESULT);
99 #[cfg(feature = "Win32_Foundation")]
100 ::windows_targets::link!("keycredmgr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn KeyCredentialManagerGetOperationErrorStates(keycredentialmanageroperationtype : KeyCredentialManagerOperationType, isready : *mut super::super::Foundation:: BOOL, keycredentialmanageroperationerrorstates : *mut KeyCredentialManagerOperationErrorStates) -> ::windows_sys::core::HRESULT);
101 #[cfg(feature = "Win32_Foundation")]
102 ::windows_targets::link!("keycredmgr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn KeyCredentialManagerShowUIOperation(hwndowner : super::super::Foundation:: HWND, keycredentialmanageroperationtype : KeyCredentialManagerOperationType) -> ::windows_sys::core::HRESULT);
103 #[cfg(feature = "Win32_Foundation")]
104 ::windows_targets::link!("winscard.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SCardAccessStartedEvent() -> super::super::Foundation:: HANDLE);
105 ::windows_targets::link!("winscard.dll" "system" fn SCardAddReaderToGroupA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szgroupname : ::windows_sys::core::PCSTR) -> i32);
106 ::windows_targets::link!("winscard.dll" "system" fn SCardAddReaderToGroupW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szgroupname : ::windows_sys::core::PCWSTR) -> i32);
107 ::windows_targets::link!("winscard.dll" "system" fn SCardAudit(hcontext : usize, dwevent : u32) -> i32);
108 ::windows_targets::link!("winscard.dll" "system" fn SCardBeginTransaction(hcard : usize) -> i32);
109 ::windows_targets::link!("winscard.dll" "system" fn SCardCancel(hcontext : usize) -> i32);
110 ::windows_targets::link!("winscard.dll" "system" fn SCardConnectA(hcontext : usize, szreader : ::windows_sys::core::PCSTR, dwsharemode : u32, dwpreferredprotocols : u32, phcard : *mut usize, pdwactiveprotocol : *mut u32) -> i32);
111 ::windows_targets::link!("winscard.dll" "system" fn SCardConnectW(hcontext : usize, szreader : ::windows_sys::core::PCWSTR, dwsharemode : u32, dwpreferredprotocols : u32, phcard : *mut usize, pdwactiveprotocol : *mut u32) -> i32);
112 ::windows_targets::link!("winscard.dll" "system" fn SCardControl(hcard : usize, dwcontrolcode : u32, lpinbuffer : *const ::core::ffi::c_void, cbinbuffersize : u32, lpoutbuffer : *mut ::core::ffi::c_void, cboutbuffersize : u32, lpbytesreturned : *mut u32) -> i32);
113 ::windows_targets::link!("winscard.dll" "system" fn SCardDisconnect(hcard : usize, dwdisposition : u32) -> i32);
114 ::windows_targets::link!("scarddlg.dll" "system" fn SCardDlgExtendedError() -> i32);
115 ::windows_targets::link!("winscard.dll" "system" fn SCardEndTransaction(hcard : usize, dwdisposition : u32) -> i32);
116 ::windows_targets::link!("winscard.dll" "system" fn SCardEstablishContext(dwscope : SCARD_SCOPE, pvreserved1 : *const ::core::ffi::c_void, pvreserved2 : *const ::core::ffi::c_void, phcontext : *mut usize) -> i32);
117 ::windows_targets::link!("winscard.dll" "system" fn SCardForgetCardTypeA(hcontext : usize, szcardname : ::windows_sys::core::PCSTR) -> i32);
118 ::windows_targets::link!("winscard.dll" "system" fn SCardForgetCardTypeW(hcontext : usize, szcardname : ::windows_sys::core::PCWSTR) -> i32);
119 ::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR) -> i32);
120 ::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderGroupA(hcontext : usize, szgroupname : ::windows_sys::core::PCSTR) -> i32);
121 ::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderGroupW(hcontext : usize, szgroupname : ::windows_sys::core::PCWSTR) -> i32);
122 ::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR) -> i32);
123 ::windows_targets::link!("winscard.dll" "system" fn SCardFreeMemory(hcontext : usize, pvmem : *const ::core::ffi::c_void) -> i32);
124 ::windows_targets::link!("winscard.dll" "system" fn SCardGetAttrib(hcard : usize, dwattrid : u32, pbattr : *mut u8, pcbattrlen : *mut u32) -> i32);
125 ::windows_targets::link!("winscard.dll" "system" fn SCardGetCardTypeProviderNameA(hcontext : usize, szcardname : ::windows_sys::core::PCSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PSTR, pcchprovider : *mut u32) -> i32);
126 ::windows_targets::link!("winscard.dll" "system" fn SCardGetCardTypeProviderNameW(hcontext : usize, szcardname : ::windows_sys::core::PCWSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PWSTR, pcchprovider : *mut u32) -> i32);
127 ::windows_targets::link!("winscard.dll" "system" fn SCardGetDeviceTypeIdA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, pdwdevicetypeid : *mut u32) -> i32);
128 ::windows_targets::link!("winscard.dll" "system" fn SCardGetDeviceTypeIdW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, pdwdevicetypeid : *mut u32) -> i32);
129 ::windows_targets::link!("winscard.dll" "system" fn SCardGetProviderIdA(hcontext : usize, szcard : ::windows_sys::core::PCSTR, pguidproviderid : *mut ::windows_sys::core::GUID) -> i32);
130 ::windows_targets::link!("winscard.dll" "system" fn SCardGetProviderIdW(hcontext : usize, szcard : ::windows_sys::core::PCWSTR, pguidproviderid : *mut ::windows_sys::core::GUID) -> i32);
131 ::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderDeviceInstanceIdA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szdeviceinstanceid : ::windows_sys::core::PSTR, pcchdeviceinstanceid : *mut u32) -> i32);
132 ::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderDeviceInstanceIdW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szdeviceinstanceid : ::windows_sys::core::PWSTR, pcchdeviceinstanceid : *mut u32) -> i32);
133 ::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderIconA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, pbicon : *mut u8, pcbicon : *mut u32) -> i32);
134 ::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderIconW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, pbicon : *mut u8, pcbicon : *mut u32) -> i32);
135 ::windows_targets::link!("winscard.dll" "system" fn SCardGetStatusChangeA(hcontext : usize, dwtimeout : u32, rgreaderstates : *mut SCARD_READERSTATEA, creaders : u32) -> i32);
136 ::windows_targets::link!("winscard.dll" "system" fn SCardGetStatusChangeW(hcontext : usize, dwtimeout : u32, rgreaderstates : *mut SCARD_READERSTATEW, creaders : u32) -> i32);
137 ::windows_targets::link!("winscard.dll" "system" fn SCardGetTransmitCount(hcard : usize, pctransmitcount : *mut u32) -> i32);
138 ::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceCardTypeA(hcontext : usize, szcardname : ::windows_sys::core::PCSTR, pguidprimaryprovider : *const ::windows_sys::core::GUID, rgguidinterfaces : *const ::windows_sys::core::GUID, dwinterfacecount : u32, pbatr : *const u8, pbatrmask : *const u8, cbatrlen : u32) -> i32);
139 ::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceCardTypeW(hcontext : usize, szcardname : ::windows_sys::core::PCWSTR, pguidprimaryprovider : *const ::windows_sys::core::GUID, rgguidinterfaces : *const ::windows_sys::core::GUID, dwinterfacecount : u32, pbatr : *const u8, pbatrmask : *const u8, cbatrlen : u32) -> i32);
140 ::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szdevicename : ::windows_sys::core::PCSTR) -> i32);
141 ::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderGroupA(hcontext : usize, szgroupname : ::windows_sys::core::PCSTR) -> i32);
142 ::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderGroupW(hcontext : usize, szgroupname : ::windows_sys::core::PCWSTR) -> i32);
143 ::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szdevicename : ::windows_sys::core::PCWSTR) -> i32);
144 ::windows_targets::link!("winscard.dll" "system" fn SCardIsValidContext(hcontext : usize) -> i32);
145 ::windows_targets::link!("winscard.dll" "system" fn SCardListCardsA(hcontext : usize, pbatr : *const u8, rgquidinterfaces : *const ::windows_sys::core::GUID, cguidinterfacecount : u32, mszcards : ::windows_sys::core::PSTR, pcchcards : *mut u32) -> i32);
146 ::windows_targets::link!("winscard.dll" "system" fn SCardListCardsW(hcontext : usize, pbatr : *const u8, rgquidinterfaces : *const ::windows_sys::core::GUID, cguidinterfacecount : u32, mszcards : ::windows_sys::core::PWSTR, pcchcards : *mut u32) -> i32);
147 ::windows_targets::link!("winscard.dll" "system" fn SCardListInterfacesA(hcontext : usize, szcard : ::windows_sys::core::PCSTR, pguidinterfaces : *mut ::windows_sys::core::GUID, pcguidinterfaces : *mut u32) -> i32);
148 ::windows_targets::link!("winscard.dll" "system" fn SCardListInterfacesW(hcontext : usize, szcard : ::windows_sys::core::PCWSTR, pguidinterfaces : *mut ::windows_sys::core::GUID, pcguidinterfaces : *mut u32) -> i32);
149 ::windows_targets::link!("winscard.dll" "system" fn SCardListReaderGroupsA(hcontext : usize, mszgroups : ::windows_sys::core::PSTR, pcchgroups : *mut u32) -> i32);
150 ::windows_targets::link!("winscard.dll" "system" fn SCardListReaderGroupsW(hcontext : usize, mszgroups : ::windows_sys::core::PWSTR, pcchgroups : *mut u32) -> i32);
151 ::windows_targets::link!("winscard.dll" "system" fn SCardListReadersA(hcontext : usize, mszgroups : ::windows_sys::core::PCSTR, mszreaders : ::windows_sys::core::PSTR, pcchreaders : *mut u32) -> i32);
152 ::windows_targets::link!("winscard.dll" "system" fn SCardListReadersW(hcontext : usize, mszgroups : ::windows_sys::core::PCWSTR, mszreaders : ::windows_sys::core::PWSTR, pcchreaders : *mut u32) -> i32);
153 ::windows_targets::link!("winscard.dll" "system" fn SCardListReadersWithDeviceInstanceIdA(hcontext : usize, szdeviceinstanceid : ::windows_sys::core::PCSTR, mszreaders : ::windows_sys::core::PSTR, pcchreaders : *mut u32) -> i32);
154 ::windows_targets::link!("winscard.dll" "system" fn SCardListReadersWithDeviceInstanceIdW(hcontext : usize, szdeviceinstanceid : ::windows_sys::core::PCWSTR, mszreaders : ::windows_sys::core::PWSTR, pcchreaders : *mut u32) -> i32);
155 ::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsA(hcontext : usize, mszcards : ::windows_sys::core::PCSTR, rgreaderstates : *mut SCARD_READERSTATEA, creaders : u32) -> i32);
156 ::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsByATRA(hcontext : usize, rgatrmasks : *const SCARD_ATRMASK, catrs : u32, rgreaderstates : *mut SCARD_READERSTATEA, creaders : u32) -> i32);
157 ::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsByATRW(hcontext : usize, rgatrmasks : *const SCARD_ATRMASK, catrs : u32, rgreaderstates : *mut SCARD_READERSTATEW, creaders : u32) -> i32);
158 ::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsW(hcontext : usize, mszcards : ::windows_sys::core::PCWSTR, rgreaderstates : *mut SCARD_READERSTATEW, creaders : u32) -> i32);
159 ::windows_targets::link!("winscard.dll" "system" fn SCardReadCacheA(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCSTR, data : *mut u8, datalen : *mut u32) -> i32);
160 ::windows_targets::link!("winscard.dll" "system" fn SCardReadCacheW(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCWSTR, data : *mut u8, datalen : *mut u32) -> i32);
161 ::windows_targets::link!("winscard.dll" "system" fn SCardReconnect(hcard : usize, dwsharemode : u32, dwpreferredprotocols : u32, dwinitialization : u32, pdwactiveprotocol : *mut u32) -> i32);
162 ::windows_targets::link!("winscard.dll" "system" fn SCardReleaseContext(hcontext : usize) -> i32);
163 ::windows_targets::link!("winscard.dll" "system" fn SCardReleaseStartedEvent() -> ());
164 ::windows_targets::link!("winscard.dll" "system" fn SCardRemoveReaderFromGroupA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szgroupname : ::windows_sys::core::PCSTR) -> i32);
165 ::windows_targets::link!("winscard.dll" "system" fn SCardRemoveReaderFromGroupW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szgroupname : ::windows_sys::core::PCWSTR) -> i32);
166 ::windows_targets::link!("winscard.dll" "system" fn SCardSetAttrib(hcard : usize, dwattrid : u32, pbattr : *const u8, cbattrlen : u32) -> i32);
167 ::windows_targets::link!("winscard.dll" "system" fn SCardSetCardTypeProviderNameA(hcontext : usize, szcardname : ::windows_sys::core::PCSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PCSTR) -> i32);
168 ::windows_targets::link!("winscard.dll" "system" fn SCardSetCardTypeProviderNameW(hcontext : usize, szcardname : ::windows_sys::core::PCWSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PCWSTR) -> i32);
169 ::windows_targets::link!("winscard.dll" "system" fn SCardState(hcard : usize, pdwstate : *mut u32, pdwprotocol : *mut u32, pbatr : *mut u8, pcbatrlen : *mut u32) -> i32);
170 ::windows_targets::link!("winscard.dll" "system" fn SCardStatusA(hcard : usize, mszreadernames : ::windows_sys::core::PSTR, pcchreaderlen : *mut u32, pdwstate : *mut u32, pdwprotocol : *mut u32, pbatr : *mut u8, pcbatrlen : *mut u32) -> i32);
171 ::windows_targets::link!("winscard.dll" "system" fn SCardStatusW(hcard : usize, mszreadernames : ::windows_sys::core::PWSTR, pcchreaderlen : *mut u32, pdwstate : *mut u32, pdwprotocol : *mut u32, pbatr : *mut u8, pcbatrlen : *mut u32) -> i32);
172 ::windows_targets::link!("winscard.dll" "system" fn SCardTransmit(hcard : usize, piosendpci : *const SCARD_IO_REQUEST, pbsendbuffer : *const u8, cbsendlength : u32, piorecvpci : *mut SCARD_IO_REQUEST, pbrecvbuffer : *mut u8, pcbrecvlength : *mut u32) -> i32);
173 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
174 ::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn SCardUIDlgSelectCardA(param0 : *mut OPENCARDNAME_EXA) -> i32);
175 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
176 ::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn SCardUIDlgSelectCardW(param0 : *mut OPENCARDNAME_EXW) -> i32);
177 ::windows_targets::link!("winscard.dll" "system" fn SCardWriteCacheA(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCSTR, data : *const u8, datalen : u32) -> i32);
178 ::windows_targets::link!("winscard.dll" "system" fn SCardWriteCacheW(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCWSTR, data : *const u8, datalen : u32) -> i32);
179 pub const BinaryBlobCredential: CRED_MARSHAL_TYPE = 3i32;
180 pub const BinaryBlobForSystem: CRED_MARSHAL_TYPE = 5i32;
181 pub const CERT_HASH_LENGTH: u32 = 20u32;
182 pub const CREDSSP_CRED_EX_VERSION: u32 = 0u32;
183 pub const CREDSSP_FLAG_REDIRECT: u32 = 1u32;
184 pub const CREDSSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CREDSSP");
185 pub const CREDSSP_SERVER_AUTH_CERTIFICATE: u32 = 2u32;
186 pub const CREDSSP_SERVER_AUTH_LOOPBACK: u32 = 4u32;
187 pub const CREDSSP_SERVER_AUTH_NEGOTIATE: u32 = 1u32;
188 pub const CREDUIWIN_AUTHPACKAGE_ONLY: CREDUIWIN_FLAGS = 16u32;
189 pub const CREDUIWIN_CHECKBOX: CREDUIWIN_FLAGS = 2u32;
190 pub const CREDUIWIN_DOWNLEVEL_HELLO_AS_SMART_CARD: u32 = 2147483648u32;
191 pub const CREDUIWIN_ENUMERATE_ADMINS: CREDUIWIN_FLAGS = 256u32;
192 pub const CREDUIWIN_ENUMERATE_CURRENT_USER: CREDUIWIN_FLAGS = 512u32;
193 pub const CREDUIWIN_GENERIC: CREDUIWIN_FLAGS = 1u32;
194 pub const CREDUIWIN_IGNORE_CLOUDAUTHORITY_NAME: u32 = 262144u32;
195 pub const CREDUIWIN_IN_CRED_ONLY: CREDUIWIN_FLAGS = 32u32;
196 pub const CREDUIWIN_PACK_32_WOW: CREDUIWIN_FLAGS = 268435456u32;
197 pub const CREDUIWIN_PREPROMPTING: CREDUIWIN_FLAGS = 8192u32;
198 pub const CREDUIWIN_SECURE_PROMPT: CREDUIWIN_FLAGS = 4096u32;
199 pub const CREDUI_FLAGS_ALWAYS_SHOW_UI: CREDUI_FLAGS = 128u32;
200 pub const CREDUI_FLAGS_COMPLETE_USERNAME: CREDUI_FLAGS = 2048u32;
201 pub const CREDUI_FLAGS_DO_NOT_PERSIST: CREDUI_FLAGS = 2u32;
202 pub const CREDUI_FLAGS_EXCLUDE_CERTIFICATES: CREDUI_FLAGS = 8u32;
203 pub const CREDUI_FLAGS_EXPECT_CONFIRMATION: CREDUI_FLAGS = 131072u32;
204 pub const CREDUI_FLAGS_GENERIC_CREDENTIALS: CREDUI_FLAGS = 262144u32;
205 pub const CREDUI_FLAGS_INCORRECT_PASSWORD: CREDUI_FLAGS = 1u32;
206 pub const CREDUI_FLAGS_KEEP_USERNAME: CREDUI_FLAGS = 1048576u32;
207 pub const CREDUI_FLAGS_PASSWORD_ONLY_OK: CREDUI_FLAGS = 512u32;
208 pub const CREDUI_FLAGS_PERSIST: CREDUI_FLAGS = 4096u32;
209 pub const CREDUI_FLAGS_REQUEST_ADMINISTRATOR: CREDUI_FLAGS = 4u32;
210 pub const CREDUI_FLAGS_REQUIRE_CERTIFICATE: CREDUI_FLAGS = 16u32;
211 pub const CREDUI_FLAGS_REQUIRE_SMARTCARD: CREDUI_FLAGS = 256u32;
212 pub const CREDUI_FLAGS_SERVER_CREDENTIAL: CREDUI_FLAGS = 16384u32;
213 pub const CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX: CREDUI_FLAGS = 64u32;
214 pub const CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS: CREDUI_FLAGS = 524288u32;
215 pub const CREDUI_FLAGS_VALIDATE_USERNAME: CREDUI_FLAGS = 1024u32;
216 pub const CREDUI_MAX_CAPTION_LENGTH: u32 = 128u32;
217 pub const CREDUI_MAX_DOMAIN_TARGET_LENGTH: u32 = 337u32;
218 pub const CREDUI_MAX_GENERIC_TARGET_LENGTH: u32 = 32767u32;
219 pub const CREDUI_MAX_MESSAGE_LENGTH: u32 = 1024u32;
220 pub const CREDUI_MAX_USERNAME_LENGTH: u32 = 513u32;
221 pub const CRED_ALLOW_NAME_RESOLUTION: u32 = 1u32;
222 pub const CRED_CACHE_TARGET_INFORMATION: u32 = 1u32;
223 pub const CRED_ENUMERATE_ALL_CREDENTIALS: CRED_ENUMERATE_FLAGS = 1u32;
224 pub const CRED_FLAGS_NGC_CERT: CRED_FLAGS = 128u32;
225 pub const CRED_FLAGS_OWF_CRED_BLOB: CRED_FLAGS = 8u32;
226 pub const CRED_FLAGS_PASSWORD_FOR_CERT: CRED_FLAGS = 1u32;
227 pub const CRED_FLAGS_PROMPT_NOW: CRED_FLAGS = 2u32;
228 pub const CRED_FLAGS_REQUIRE_CONFIRMATION: CRED_FLAGS = 16u32;
229 pub const CRED_FLAGS_USERNAME_TARGET: CRED_FLAGS = 4u32;
230 pub const CRED_FLAGS_VALID_FLAGS: CRED_FLAGS = 61695u32;
231 pub const CRED_FLAGS_VALID_INPUT_FLAGS: CRED_FLAGS = 61599u32;
232 pub const CRED_FLAGS_VSM_PROTECTED: CRED_FLAGS = 64u32;
233 pub const CRED_FLAGS_WILDCARD_MATCH: CRED_FLAGS = 32u32;
234 pub const CRED_LOGON_TYPES_MASK: u32 = 61440u32;
235 pub const CRED_MAX_ATTRIBUTES: u32 = 64u32;
236 pub const CRED_MAX_CREDENTIAL_BLOB_SIZE: u32 = 2560u32;
237 pub const CRED_MAX_DOMAIN_TARGET_NAME_LENGTH: u32 = 337u32;
238 pub const CRED_MAX_GENERIC_TARGET_NAME_LENGTH: u32 = 32767u32;
239 pub const CRED_MAX_STRING_LENGTH: u32 = 256u32;
240 pub const CRED_MAX_TARGETNAME_ATTRIBUTE_LENGTH: u32 = 256u32;
241 pub const CRED_MAX_TARGETNAME_NAMESPACE_LENGTH: u32 = 256u32;
242 pub const CRED_MAX_USERNAME_LENGTH: u32 = 513u32;
243 pub const CRED_MAX_VALUE_SIZE: u32 = 256u32;
244 pub const CRED_PACK_GENERIC_CREDENTIALS: CRED_PACK_FLAGS = 4u32;
245 pub const CRED_PACK_ID_PROVIDER_CREDENTIALS: CRED_PACK_FLAGS = 8u32;
246 pub const CRED_PACK_PROTECTED_CREDENTIALS: CRED_PACK_FLAGS = 1u32;
247 pub const CRED_PACK_WOW_BUFFER: CRED_PACK_FLAGS = 2u32;
248 pub const CRED_PERSIST_ENTERPRISE: CRED_PERSIST = 3u32;
249 pub const CRED_PERSIST_LOCAL_MACHINE: CRED_PERSIST = 2u32;
250 pub const CRED_PERSIST_NONE: CRED_PERSIST = 0u32;
251 pub const CRED_PERSIST_SESSION: CRED_PERSIST = 1u32;
252 pub const CRED_PRESERVE_CREDENTIAL_BLOB: u32 = 1u32;
253 pub const CRED_PROTECT_AS_SELF: u32 = 1u32;
254 pub const CRED_PROTECT_TO_SYSTEM: u32 = 2u32;
255 pub const CRED_SESSION_WILDCARD_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("*Session");
256 pub const CRED_SESSION_WILDCARD_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("*Session");
257 pub const CRED_SESSION_WILDCARD_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("*Session");
258 pub const CRED_TARGETNAME_ATTRIBUTE_BATCH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("batch");
259 pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("batch");
260 pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("batch");
261 pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cachedinteractive");
262 pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("cachedinteractive");
263 pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cachedinteractive");
264 pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("interactive");
265 pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("interactive");
266 pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("interactive");
267 pub const CRED_TARGETNAME_ATTRIBUTE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("name");
268 pub const CRED_TARGETNAME_ATTRIBUTE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("name");
269 pub const CRED_TARGETNAME_ATTRIBUTE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("name");
270 pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("network");
271 pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("networkcleartext");
272 pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("networkcleartext");
273 pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("networkcleartext");
274 pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("network");
275 pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("network");
276 pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("remoteinteractive");
277 pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("remoteinteractive");
278 pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("remoteinteractive");
279 pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("service");
280 pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("service");
281 pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("service");
282 pub const CRED_TARGETNAME_ATTRIBUTE_TARGET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("target");
283 pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("target");
284 pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("target");
285 pub const CRED_TARGETNAME_DOMAIN_NAMESPACE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Domain");
286 pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Domain");
287 pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Domain");
288 pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LegacyGeneric");
289 pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LegacyGeneric");
290 pub const CRED_TI_CREATE_EXPLICIT_CRED: u32 = 16u32;
291 pub const CRED_TI_DNSTREE_IS_DFS_SERVER: u32 = 64u32;
292 pub const CRED_TI_DOMAIN_FORMAT_UNKNOWN: u32 = 2u32;
293 pub const CRED_TI_ONLY_PASSWORD_REQUIRED: u32 = 4u32;
294 pub const CRED_TI_SERVER_FORMAT_UNKNOWN: u32 = 1u32;
295 pub const CRED_TI_USERNAME_TARGET: u32 = 8u32;
296 pub const CRED_TI_VALID_FLAGS: u32 = 61567u32;
297 pub const CRED_TI_WORKGROUP_MEMBER: u32 = 32u32;
298 pub const CRED_TYPE_DOMAIN_CERTIFICATE: CRED_TYPE = 3u32;
299 pub const CRED_TYPE_DOMAIN_EXTENDED: CRED_TYPE = 6u32;
300 pub const CRED_TYPE_DOMAIN_PASSWORD: CRED_TYPE = 2u32;
301 pub const CRED_TYPE_DOMAIN_VISIBLE_PASSWORD: CRED_TYPE = 4u32;
302 pub const CRED_TYPE_GENERIC: CRED_TYPE = 1u32;
303 pub const CRED_TYPE_GENERIC_CERTIFICATE: CRED_TYPE = 5u32;
304 pub const CRED_TYPE_MAXIMUM: CRED_TYPE = 7u32;
305 pub const CRED_TYPE_MAXIMUM_EX: CRED_TYPE = 1007u32;
306 pub const CRED_UNPROTECT_ALLOW_TO_SYSTEM: u32 = 2u32;
307 pub const CRED_UNPROTECT_AS_SELF: u32 = 1u32;
308 pub const CertCredential: CRED_MARSHAL_TYPE = 1i32;
309 pub const CredForSystemProtection: CRED_PROTECTION_TYPE = 3i32;
310 pub const CredTrustedProtection: CRED_PROTECTION_TYPE = 2i32;
311 pub const CredUnprotected: CRED_PROTECTION_TYPE = 0i32;
312 pub const CredUserProtection: CRED_PROTECTION_TYPE = 1i32;
313 pub const CredsspCertificateCreds: CREDSPP_SUBMIT_TYPE = 13i32;
314 pub const CredsspCredEx: CREDSPP_SUBMIT_TYPE = 100i32;
315 pub const CredsspPasswordCreds: CREDSPP_SUBMIT_TYPE = 2i32;
316 pub const CredsspSchannelCreds: CREDSPP_SUBMIT_TYPE = 4i32;
317 pub const CredsspSubmitBufferBoth: CREDSPP_SUBMIT_TYPE = 50i32;
318 pub const CredsspSubmitBufferBothOld: CREDSPP_SUBMIT_TYPE = 51i32;
319 pub const FILE_DEVICE_SMARTCARD: u32 = 49u32;
320 pub const GUID_DEVINTERFACE_SMARTCARD_READER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x50dd5230_ba8a_11d1_bf5d_0000f805f530);
321 pub const KeyCredentialManagerOperationErrorStateCertificateFailure: KeyCredentialManagerOperationErrorStates = 4i32;
322 pub const KeyCredentialManagerOperationErrorStateDeviceJoinFailure: KeyCredentialManagerOperationErrorStates = 1i32;
323 pub const KeyCredentialManagerOperationErrorStateHardwareFailure: KeyCredentialManagerOperationErrorStates = 32i32;
324 pub const KeyCredentialManagerOperationErrorStateNone: KeyCredentialManagerOperationErrorStates = 0i32;
325 pub const KeyCredentialManagerOperationErrorStatePinExistsFailure: KeyCredentialManagerOperationErrorStates = 64i32;
326 pub const KeyCredentialManagerOperationErrorStatePolicyFailure: KeyCredentialManagerOperationErrorStates = 16i32;
327 pub const KeyCredentialManagerOperationErrorStateRemoteSessionFailure: KeyCredentialManagerOperationErrorStates = 8i32;
328 pub const KeyCredentialManagerOperationErrorStateTokenFailure: KeyCredentialManagerOperationErrorStates = 2i32;
329 pub const KeyCredentialManagerPinChange: KeyCredentialManagerOperationType = 1i32;
330 pub const KeyCredentialManagerPinReset: KeyCredentialManagerOperationType = 2i32;
331 pub const KeyCredentialManagerProvisioning: KeyCredentialManagerOperationType = 0i32;
332 pub const MAXIMUM_ATTR_STRING_LENGTH: u32 = 32u32;
333 pub const MAXIMUM_SMARTCARD_READERS: u32 = 10u32;
334 pub const RSR_MATCH_TYPE_ALL_CARDS: READER_SEL_REQUEST_MATCH_TYPE = 3i32;
335 pub const RSR_MATCH_TYPE_READER_AND_CONTAINER: READER_SEL_REQUEST_MATCH_TYPE = 1i32;
336 pub const RSR_MATCH_TYPE_SERIAL_NUMBER: READER_SEL_REQUEST_MATCH_TYPE = 2i32;
337 pub const SCARD_ABSENT: u32 = 1u32;
338 pub const SCARD_ALL_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$AllReaders\u{0}00");
339 pub const SCARD_ATR_LENGTH: u32 = 33u32;
340 pub const SCARD_AUDIT_CHV_FAILURE: u32 = 0u32;
341 pub const SCARD_AUDIT_CHV_SUCCESS: u32 = 1u32;
342 pub const SCARD_CLASS_COMMUNICATIONS: u32 = 2u32;
343 pub const SCARD_CLASS_ICC_STATE: u32 = 9u32;
344 pub const SCARD_CLASS_IFD_PROTOCOL: u32 = 8u32;
345 pub const SCARD_CLASS_MECHANICAL: u32 = 6u32;
346 pub const SCARD_CLASS_PERF: u32 = 32766u32;
347 pub const SCARD_CLASS_POWER_MGMT: u32 = 4u32;
348 pub const SCARD_CLASS_PROTOCOL: u32 = 3u32;
349 pub const SCARD_CLASS_SECURITY: u32 = 5u32;
350 pub const SCARD_CLASS_SYSTEM: u32 = 32767u32;
351 pub const SCARD_CLASS_VENDOR_DEFINED: u32 = 7u32;
352 pub const SCARD_CLASS_VENDOR_INFO: u32 = 1u32;
353 pub const SCARD_COLD_RESET: u32 = 1u32;
354 pub const SCARD_DEFAULT_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$DefaultReaders\u{0}00");
355 pub const SCARD_EJECT_CARD: u32 = 3u32;
356 pub const SCARD_LEAVE_CARD: u32 = 0u32;
357 pub const SCARD_LOCAL_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$LocalReaders\u{0}00");
358 pub const SCARD_NEGOTIABLE: u32 = 5u32;
359 pub const SCARD_POWERED: u32 = 4u32;
360 pub const SCARD_POWER_DOWN: u32 = 0u32;
361 pub const SCARD_PRESENT: u32 = 2u32;
362 pub const SCARD_PROTOCOL_DEFAULT: u32 = 2147483648u32;
363 pub const SCARD_PROTOCOL_OPTIMAL: u32 = 0u32;
364 pub const SCARD_PROTOCOL_RAW: u32 = 65536u32;
365 pub const SCARD_PROTOCOL_T0: u32 = 1u32;
366 pub const SCARD_PROTOCOL_T1: u32 = 2u32;
367 pub const SCARD_PROTOCOL_UNDEFINED: u32 = 0u32;
368 pub const SCARD_PROVIDER_CSP: u32 = 2u32;
369 pub const SCARD_PROVIDER_KSP: u32 = 3u32;
370 pub const SCARD_PROVIDER_PRIMARY: u32 = 1u32;
371 pub const SCARD_READER_CONFISCATES: u32 = 4u32;
372 pub const SCARD_READER_CONTACTLESS: u32 = 8u32;
373 pub const SCARD_READER_EJECTS: u32 = 2u32;
374 pub const SCARD_READER_SWALLOWS: u32 = 1u32;
375 pub const SCARD_READER_TYPE_EMBEDDEDSE: u32 = 2048u32;
376 pub const SCARD_READER_TYPE_IDE: u32 = 16u32;
377 pub const SCARD_READER_TYPE_KEYBOARD: u32 = 4u32;
378 pub const SCARD_READER_TYPE_NFC: u32 = 256u32;
379 pub const SCARD_READER_TYPE_NGC: u32 = 1024u32;
380 pub const SCARD_READER_TYPE_PARALELL: u32 = 2u32;
381 pub const SCARD_READER_TYPE_PCMCIA: u32 = 64u32;
382 pub const SCARD_READER_TYPE_SCSI: u32 = 8u32;
383 pub const SCARD_READER_TYPE_SERIAL: u32 = 1u32;
384 pub const SCARD_READER_TYPE_TPM: u32 = 128u32;
385 pub const SCARD_READER_TYPE_UICC: u32 = 512u32;
386 pub const SCARD_READER_TYPE_USB: u32 = 32u32;
387 pub const SCARD_READER_TYPE_VENDOR: u32 = 240u32;
388 pub const SCARD_RESET_CARD: u32 = 1u32;
389 pub const SCARD_SCOPE_SYSTEM: SCARD_SCOPE = 2u32;
390 pub const SCARD_SCOPE_TERMINAL: u32 = 1u32;
391 pub const SCARD_SCOPE_USER: SCARD_SCOPE = 0u32;
392 pub const SCARD_SHARE_DIRECT: u32 = 3u32;
393 pub const SCARD_SHARE_EXCLUSIVE: u32 = 1u32;
394 pub const SCARD_SHARE_SHARED: u32 = 2u32;
395 pub const SCARD_SPECIFIC: u32 = 6u32;
396 pub const SCARD_STATE_ATRMATCH: SCARD_STATE = 64u32;
397 pub const SCARD_STATE_CHANGED: SCARD_STATE = 2u32;
398 pub const SCARD_STATE_EMPTY: SCARD_STATE = 16u32;
399 pub const SCARD_STATE_EXCLUSIVE: SCARD_STATE = 128u32;
400 pub const SCARD_STATE_IGNORE: SCARD_STATE = 1u32;
401 pub const SCARD_STATE_INUSE: SCARD_STATE = 256u32;
402 pub const SCARD_STATE_MUTE: SCARD_STATE = 512u32;
403 pub const SCARD_STATE_PRESENT: SCARD_STATE = 32u32;
404 pub const SCARD_STATE_UNAVAILABLE: SCARD_STATE = 8u32;
405 pub const SCARD_STATE_UNAWARE: SCARD_STATE = 0u32;
406 pub const SCARD_STATE_UNKNOWN: SCARD_STATE = 4u32;
407 pub const SCARD_STATE_UNPOWERED: u32 = 1024u32;
408 pub const SCARD_SWALLOWED: u32 = 3u32;
409 pub const SCARD_SYSTEM_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$SystemReaders\u{0}00");
410 pub const SCARD_T0_CMD_LENGTH: u32 = 5u32;
411 pub const SCARD_T0_HEADER_LENGTH: u32 = 7u32;
412 pub const SCARD_T1_EPILOGUE_LENGTH: u32 = 2u32;
413 pub const SCARD_T1_EPILOGUE_LENGTH_LRC: u32 = 1u32;
414 pub const SCARD_T1_MAX_IFS: u32 = 254u32;
415 pub const SCARD_T1_PROLOGUE_LENGTH: u32 = 3u32;
416 pub const SCARD_UNKNOWN: u32 = 0u32;
417 pub const SCARD_UNPOWER_CARD: u32 = 2u32;
418 pub const SCARD_WARM_RESET: u32 = 2u32;
419 pub const SCERR_NOCARDNAME: u32 = 16384u32;
420 pub const SCERR_NOGUIDS: u32 = 32768u32;
421 pub const SC_DLG_FORCE_UI: u32 = 4u32;
422 pub const SC_DLG_MINIMAL_UI: u32 = 1u32;
423 pub const SC_DLG_NO_UI: u32 = 2u32;
424 pub const SECPKG_ALT_ATTR: u32 = 2147483648u32;
425 pub const SECPKG_ATTR_C_FULL_IDENT_TOKEN: u32 = 2147483781u32;
426 #[doc = "Required features: `\"Win32_Foundation\"`"]
427 #[cfg(feature = "Win32_Foundation")]
428 pub const STATUS_ACCOUNT_DISABLED: super::super::Foundation::NTSTATUS = -1073741710i32;
429 #[doc = "Required features: `\"Win32_Foundation\"`"]
430 #[cfg(feature = "Win32_Foundation")]
431 pub const STATUS_ACCOUNT_EXPIRED: super::super::Foundation::NTSTATUS = -1073741421i32;
432 #[doc = "Required features: `\"Win32_Foundation\"`"]
433 #[cfg(feature = "Win32_Foundation")]
434 pub const STATUS_ACCOUNT_LOCKED_OUT: super::super::Foundation::NTSTATUS = -1073741260i32;
435 #[doc = "Required features: `\"Win32_Foundation\"`"]
436 #[cfg(feature = "Win32_Foundation")]
437 pub const STATUS_ACCOUNT_RESTRICTION: super::super::Foundation::NTSTATUS = -1073741714i32;
438 #[doc = "Required features: `\"Win32_Foundation\"`"]
439 #[cfg(feature = "Win32_Foundation")]
440 pub const STATUS_AUTHENTICATION_FIREWALL_FAILED: super::super::Foundation::NTSTATUS = -1073740781i32;
441 #[doc = "Required features: `\"Win32_Foundation\"`"]
442 #[cfg(feature = "Win32_Foundation")]
443 pub const STATUS_DOWNGRADE_DETECTED: super::super::Foundation::NTSTATUS = -1073740920i32;
444 #[doc = "Required features: `\"Win32_Foundation\"`"]
445 #[cfg(feature = "Win32_Foundation")]
446 pub const STATUS_LOGON_FAILURE: super::super::Foundation::NTSTATUS = -1073741715i32;
447 #[doc = "Required features: `\"Win32_Foundation\"`"]
448 #[cfg(feature = "Win32_Foundation")]
449 pub const STATUS_LOGON_TYPE_NOT_GRANTED: super::super::Foundation::NTSTATUS = -1073741477i32;
450 #[doc = "Required features: `\"Win32_Foundation\"`"]
451 #[cfg(feature = "Win32_Foundation")]
452 pub const STATUS_NO_SUCH_LOGON_SESSION: super::super::Foundation::NTSTATUS = -1073741729i32;
453 #[doc = "Required features: `\"Win32_Foundation\"`"]
454 #[cfg(feature = "Win32_Foundation")]
455 pub const STATUS_NO_SUCH_USER: super::super::Foundation::NTSTATUS = -1073741724i32;
456 #[doc = "Required features: `\"Win32_Foundation\"`"]
457 #[cfg(feature = "Win32_Foundation")]
458 pub const STATUS_PASSWORD_EXPIRED: super::super::Foundation::NTSTATUS = -1073741711i32;
459 #[doc = "Required features: `\"Win32_Foundation\"`"]
460 #[cfg(feature = "Win32_Foundation")]
461 pub const STATUS_PASSWORD_MUST_CHANGE: super::super::Foundation::NTSTATUS = -1073741276i32;
462 #[doc = "Required features: `\"Win32_Foundation\"`"]
463 #[cfg(feature = "Win32_Foundation")]
464 pub const STATUS_WRONG_PASSWORD: super::super::Foundation::NTSTATUS = -1073741718i32;
465 pub const TS_SSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TSSSP");
466 pub const TS_SSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TSSSP");
467 pub const UsernameForPackedCredentials: CRED_MARSHAL_TYPE = 4i32;
468 pub const UsernameTargetCredential: CRED_MARSHAL_TYPE = 2i32;
469 pub const szOID_TS_KP_TS_SERVER_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.54.1.2");
470 pub type CREDSPP_SUBMIT_TYPE = i32;
471 pub type CREDUIWIN_FLAGS = u32;
472 pub type CREDUI_FLAGS = u32;
473 pub type CRED_ENUMERATE_FLAGS = u32;
474 pub type CRED_FLAGS = u32;
475 pub type CRED_MARSHAL_TYPE = i32;
476 pub type CRED_PACK_FLAGS = u32;
477 pub type CRED_PERSIST = u32;
478 pub type CRED_PROTECTION_TYPE = i32;
479 pub type CRED_TYPE = u32;
480 pub type KeyCredentialManagerOperationErrorStates = i32;
481 pub type KeyCredentialManagerOperationType = i32;
482 pub type READER_SEL_REQUEST_MATCH_TYPE = i32;
483 pub type SCARD_SCOPE = u32;
484 pub type SCARD_STATE = u32;
485 #[repr(C)]
486 pub struct BINARY_BLOB_CREDENTIAL_INFO {
487 pub cbBlob: u32,
488 pub pbBlob: *mut u8,
489 }
490 impl ::core::marker::Copy for BINARY_BLOB_CREDENTIAL_INFO {}
491 impl ::core::clone::Clone for BINARY_BLOB_CREDENTIAL_INFO {
492 fn clone(&self) -> Self {
493 *self
494 }
495 }
496 #[repr(C)]
497 pub struct CERT_CREDENTIAL_INFO {
498 pub cbSize: u32,
499 pub rgbHashOfCert: [u8; 20],
500 }
501 impl ::core::marker::Copy for CERT_CREDENTIAL_INFO {}
502 impl ::core::clone::Clone for CERT_CREDENTIAL_INFO {
503 fn clone(&self) -> Self {
504 *self
505 }
506 }
507 #[repr(C)]
508 #[doc = "Required features: `\"Win32_Foundation\"`"]
509 #[cfg(feature = "Win32_Foundation")]
510 pub struct CREDENTIALA {
511 pub Flags: CRED_FLAGS,
512 pub Type: CRED_TYPE,
513 pub TargetName: ::windows_sys::core::PSTR,
514 pub Comment: ::windows_sys::core::PSTR,
515 pub LastWritten: super::super::Foundation::FILETIME,
516 pub CredentialBlobSize: u32,
517 pub CredentialBlob: *mut u8,
518 pub Persist: CRED_PERSIST,
519 pub AttributeCount: u32,
520 pub Attributes: *mut CREDENTIAL_ATTRIBUTEA,
521 pub TargetAlias: ::windows_sys::core::PSTR,
522 pub UserName: ::windows_sys::core::PSTR,
523 }
524 #[cfg(feature = "Win32_Foundation")]
525 impl ::core::marker::Copy for CREDENTIALA {}
526 #[cfg(feature = "Win32_Foundation")]
527 impl ::core::clone::Clone for CREDENTIALA {
528 fn clone(&self) -> Self {
529 *self
530 }
531 }
532 #[repr(C)]
533 #[doc = "Required features: `\"Win32_Foundation\"`"]
534 #[cfg(feature = "Win32_Foundation")]
535 pub struct CREDENTIALW {
536 pub Flags: CRED_FLAGS,
537 pub Type: CRED_TYPE,
538 pub TargetName: ::windows_sys::core::PWSTR,
539 pub Comment: ::windows_sys::core::PWSTR,
540 pub LastWritten: super::super::Foundation::FILETIME,
541 pub CredentialBlobSize: u32,
542 pub CredentialBlob: *mut u8,
543 pub Persist: CRED_PERSIST,
544 pub AttributeCount: u32,
545 pub Attributes: *mut CREDENTIAL_ATTRIBUTEW,
546 pub TargetAlias: ::windows_sys::core::PWSTR,
547 pub UserName: ::windows_sys::core::PWSTR,
548 }
549 #[cfg(feature = "Win32_Foundation")]
550 impl ::core::marker::Copy for CREDENTIALW {}
551 #[cfg(feature = "Win32_Foundation")]
552 impl ::core::clone::Clone for CREDENTIALW {
553 fn clone(&self) -> Self {
554 *self
555 }
556 }
557 #[repr(C)]
558 pub struct CREDENTIAL_ATTRIBUTEA {
559 pub Keyword: ::windows_sys::core::PSTR,
560 pub Flags: u32,
561 pub ValueSize: u32,
562 pub Value: *mut u8,
563 }
564 impl ::core::marker::Copy for CREDENTIAL_ATTRIBUTEA {}
565 impl ::core::clone::Clone for CREDENTIAL_ATTRIBUTEA {
566 fn clone(&self) -> Self {
567 *self
568 }
569 }
570 #[repr(C)]
571 pub struct CREDENTIAL_ATTRIBUTEW {
572 pub Keyword: ::windows_sys::core::PWSTR,
573 pub Flags: u32,
574 pub ValueSize: u32,
575 pub Value: *mut u8,
576 }
577 impl ::core::marker::Copy for CREDENTIAL_ATTRIBUTEW {}
578 impl ::core::clone::Clone for CREDENTIAL_ATTRIBUTEW {
579 fn clone(&self) -> Self {
580 *self
581 }
582 }
583 #[repr(C)]
584 pub struct CREDENTIAL_TARGET_INFORMATIONA {
585 pub TargetName: ::windows_sys::core::PSTR,
586 pub NetbiosServerName: ::windows_sys::core::PSTR,
587 pub DnsServerName: ::windows_sys::core::PSTR,
588 pub NetbiosDomainName: ::windows_sys::core::PSTR,
589 pub DnsDomainName: ::windows_sys::core::PSTR,
590 pub DnsTreeName: ::windows_sys::core::PSTR,
591 pub PackageName: ::windows_sys::core::PSTR,
592 pub Flags: u32,
593 pub CredTypeCount: u32,
594 pub CredTypes: *mut u32,
595 }
596 impl ::core::marker::Copy for CREDENTIAL_TARGET_INFORMATIONA {}
597 impl ::core::clone::Clone for CREDENTIAL_TARGET_INFORMATIONA {
598 fn clone(&self) -> Self {
599 *self
600 }
601 }
602 #[repr(C)]
603 pub struct CREDENTIAL_TARGET_INFORMATIONW {
604 pub TargetName: ::windows_sys::core::PWSTR,
605 pub NetbiosServerName: ::windows_sys::core::PWSTR,
606 pub DnsServerName: ::windows_sys::core::PWSTR,
607 pub NetbiosDomainName: ::windows_sys::core::PWSTR,
608 pub DnsDomainName: ::windows_sys::core::PWSTR,
609 pub DnsTreeName: ::windows_sys::core::PWSTR,
610 pub PackageName: ::windows_sys::core::PWSTR,
611 pub Flags: u32,
612 pub CredTypeCount: u32,
613 pub CredTypes: *mut u32,
614 }
615 impl ::core::marker::Copy for CREDENTIAL_TARGET_INFORMATIONW {}
616 impl ::core::clone::Clone for CREDENTIAL_TARGET_INFORMATIONW {
617 fn clone(&self) -> Self {
618 *self
619 }
620 }
621 #[repr(C)]
622 pub struct CREDSSP_CRED {
623 pub Type: CREDSPP_SUBMIT_TYPE,
624 pub pSchannelCred: *mut ::core::ffi::c_void,
625 pub pSpnegoCred: *mut ::core::ffi::c_void,
626 }
627 impl ::core::marker::Copy for CREDSSP_CRED {}
628 impl ::core::clone::Clone for CREDSSP_CRED {
629 fn clone(&self) -> Self {
630 *self
631 }
632 }
633 #[repr(C)]
634 pub struct CREDSSP_CRED_EX {
635 pub Type: CREDSPP_SUBMIT_TYPE,
636 pub Version: u32,
637 pub Flags: u32,
638 pub Reserved: u32,
639 pub Cred: CREDSSP_CRED,
640 }
641 impl ::core::marker::Copy for CREDSSP_CRED_EX {}
642 impl ::core::clone::Clone for CREDSSP_CRED_EX {
643 fn clone(&self) -> Self {
644 *self
645 }
646 }
647 #[repr(C)]
648 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
649 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
650 pub struct CREDUI_INFOA {
651 pub cbSize: u32,
652 pub hwndParent: super::super::Foundation::HWND,
653 pub pszMessageText: ::windows_sys::core::PCSTR,
654 pub pszCaptionText: ::windows_sys::core::PCSTR,
655 pub hbmBanner: super::super::Graphics::Gdi::HBITMAP,
656 }
657 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
658 impl ::core::marker::Copy for CREDUI_INFOA {}
659 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
660 impl ::core::clone::Clone for CREDUI_INFOA {
661 fn clone(&self) -> Self {
662 *self
663 }
664 }
665 #[repr(C)]
666 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"]
667 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
668 pub struct CREDUI_INFOW {
669 pub cbSize: u32,
670 pub hwndParent: super::super::Foundation::HWND,
671 pub pszMessageText: ::windows_sys::core::PCWSTR,
672 pub pszCaptionText: ::windows_sys::core::PCWSTR,
673 pub hbmBanner: super::super::Graphics::Gdi::HBITMAP,
674 }
675 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
676 impl ::core::marker::Copy for CREDUI_INFOW {}
677 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
678 impl ::core::clone::Clone for CREDUI_INFOW {
679 fn clone(&self) -> Self {
680 *self
681 }
682 }
683 #[repr(C)]
684 pub struct KeyCredentialManagerInfo {
685 pub containerId: ::windows_sys::core::GUID,
686 }
687 impl ::core::marker::Copy for KeyCredentialManagerInfo {}
688 impl ::core::clone::Clone for KeyCredentialManagerInfo {
689 fn clone(&self) -> Self {
690 *self
691 }
692 }
693 #[repr(C)]
694 #[doc = "Required features: `\"Win32_Foundation\"`"]
695 #[cfg(feature = "Win32_Foundation")]
696 pub struct OPENCARDNAMEA {
697 pub dwStructSize: u32,
698 pub hwndOwner: super::super::Foundation::HWND,
699 pub hSCardContext: usize,
700 pub lpstrGroupNames: ::windows_sys::core::PSTR,
701 pub nMaxGroupNames: u32,
702 pub lpstrCardNames: ::windows_sys::core::PSTR,
703 pub nMaxCardNames: u32,
704 pub rgguidInterfaces: *const ::windows_sys::core::GUID,
705 pub cguidInterfaces: u32,
706 pub lpstrRdr: ::windows_sys::core::PSTR,
707 pub nMaxRdr: u32,
708 pub lpstrCard: ::windows_sys::core::PSTR,
709 pub nMaxCard: u32,
710 pub lpstrTitle: ::windows_sys::core::PCSTR,
711 pub dwFlags: u32,
712 pub pvUserData: *mut ::core::ffi::c_void,
713 pub dwShareMode: u32,
714 pub dwPreferredProtocols: u32,
715 pub dwActiveProtocol: u32,
716 pub lpfnConnect: LPOCNCONNPROCA,
717 pub lpfnCheck: LPOCNCHKPROC,
718 pub lpfnDisconnect: LPOCNDSCPROC,
719 pub hCardHandle: usize,
720 }
721 #[cfg(feature = "Win32_Foundation")]
722 impl ::core::marker::Copy for OPENCARDNAMEA {}
723 #[cfg(feature = "Win32_Foundation")]
724 impl ::core::clone::Clone for OPENCARDNAMEA {
725 fn clone(&self) -> Self {
726 *self
727 }
728 }
729 #[repr(C)]
730 #[doc = "Required features: `\"Win32_Foundation\"`"]
731 #[cfg(feature = "Win32_Foundation")]
732 pub struct OPENCARDNAMEW {
733 pub dwStructSize: u32,
734 pub hwndOwner: super::super::Foundation::HWND,
735 pub hSCardContext: usize,
736 pub lpstrGroupNames: ::windows_sys::core::PWSTR,
737 pub nMaxGroupNames: u32,
738 pub lpstrCardNames: ::windows_sys::core::PWSTR,
739 pub nMaxCardNames: u32,
740 pub rgguidInterfaces: *const ::windows_sys::core::GUID,
741 pub cguidInterfaces: u32,
742 pub lpstrRdr: ::windows_sys::core::PWSTR,
743 pub nMaxRdr: u32,
744 pub lpstrCard: ::windows_sys::core::PWSTR,
745 pub nMaxCard: u32,
746 pub lpstrTitle: ::windows_sys::core::PCWSTR,
747 pub dwFlags: u32,
748 pub pvUserData: *mut ::core::ffi::c_void,
749 pub dwShareMode: u32,
750 pub dwPreferredProtocols: u32,
751 pub dwActiveProtocol: u32,
752 pub lpfnConnect: LPOCNCONNPROCW,
753 pub lpfnCheck: LPOCNCHKPROC,
754 pub lpfnDisconnect: LPOCNDSCPROC,
755 pub hCardHandle: usize,
756 }
757 #[cfg(feature = "Win32_Foundation")]
758 impl ::core::marker::Copy for OPENCARDNAMEW {}
759 #[cfg(feature = "Win32_Foundation")]
760 impl ::core::clone::Clone for OPENCARDNAMEW {
761 fn clone(&self) -> Self {
762 *self
763 }
764 }
765 #[repr(C)]
766 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
767 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
768 pub struct OPENCARDNAME_EXA {
769 pub dwStructSize: u32,
770 pub hSCardContext: usize,
771 pub hwndOwner: super::super::Foundation::HWND,
772 pub dwFlags: u32,
773 pub lpstrTitle: ::windows_sys::core::PCSTR,
774 pub lpstrSearchDesc: ::windows_sys::core::PCSTR,
775 pub hIcon: super::super::UI::WindowsAndMessaging::HICON,
776 pub pOpenCardSearchCriteria: *mut OPENCARD_SEARCH_CRITERIAA,
777 pub lpfnConnect: LPOCNCONNPROCA,
778 pub pvUserData: *mut ::core::ffi::c_void,
779 pub dwShareMode: u32,
780 pub dwPreferredProtocols: u32,
781 pub lpstrRdr: ::windows_sys::core::PSTR,
782 pub nMaxRdr: u32,
783 pub lpstrCard: ::windows_sys::core::PSTR,
784 pub nMaxCard: u32,
785 pub dwActiveProtocol: u32,
786 pub hCardHandle: usize,
787 }
788 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
789 impl ::core::marker::Copy for OPENCARDNAME_EXA {}
790 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
791 impl ::core::clone::Clone for OPENCARDNAME_EXA {
792 fn clone(&self) -> Self {
793 *self
794 }
795 }
796 #[repr(C)]
797 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"]
798 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
799 pub struct OPENCARDNAME_EXW {
800 pub dwStructSize: u32,
801 pub hSCardContext: usize,
802 pub hwndOwner: super::super::Foundation::HWND,
803 pub dwFlags: u32,
804 pub lpstrTitle: ::windows_sys::core::PCWSTR,
805 pub lpstrSearchDesc: ::windows_sys::core::PCWSTR,
806 pub hIcon: super::super::UI::WindowsAndMessaging::HICON,
807 pub pOpenCardSearchCriteria: *mut OPENCARD_SEARCH_CRITERIAW,
808 pub lpfnConnect: LPOCNCONNPROCW,
809 pub pvUserData: *mut ::core::ffi::c_void,
810 pub dwShareMode: u32,
811 pub dwPreferredProtocols: u32,
812 pub lpstrRdr: ::windows_sys::core::PWSTR,
813 pub nMaxRdr: u32,
814 pub lpstrCard: ::windows_sys::core::PWSTR,
815 pub nMaxCard: u32,
816 pub dwActiveProtocol: u32,
817 pub hCardHandle: usize,
818 }
819 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
820 impl ::core::marker::Copy for OPENCARDNAME_EXW {}
821 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
822 impl ::core::clone::Clone for OPENCARDNAME_EXW {
823 fn clone(&self) -> Self {
824 *self
825 }
826 }
827 #[repr(C)]
828 #[doc = "Required features: `\"Win32_Foundation\"`"]
829 #[cfg(feature = "Win32_Foundation")]
830 pub struct OPENCARD_SEARCH_CRITERIAA {
831 pub dwStructSize: u32,
832 pub lpstrGroupNames: ::windows_sys::core::PSTR,
833 pub nMaxGroupNames: u32,
834 pub rgguidInterfaces: *const ::windows_sys::core::GUID,
835 pub cguidInterfaces: u32,
836 pub lpstrCardNames: ::windows_sys::core::PSTR,
837 pub nMaxCardNames: u32,
838 pub lpfnCheck: LPOCNCHKPROC,
839 pub lpfnConnect: LPOCNCONNPROCA,
840 pub lpfnDisconnect: LPOCNDSCPROC,
841 pub pvUserData: *mut ::core::ffi::c_void,
842 pub dwShareMode: u32,
843 pub dwPreferredProtocols: u32,
844 }
845 #[cfg(feature = "Win32_Foundation")]
846 impl ::core::marker::Copy for OPENCARD_SEARCH_CRITERIAA {}
847 #[cfg(feature = "Win32_Foundation")]
848 impl ::core::clone::Clone for OPENCARD_SEARCH_CRITERIAA {
849 fn clone(&self) -> Self {
850 *self
851 }
852 }
853 #[repr(C)]
854 #[doc = "Required features: `\"Win32_Foundation\"`"]
855 #[cfg(feature = "Win32_Foundation")]
856 pub struct OPENCARD_SEARCH_CRITERIAW {
857 pub dwStructSize: u32,
858 pub lpstrGroupNames: ::windows_sys::core::PWSTR,
859 pub nMaxGroupNames: u32,
860 pub rgguidInterfaces: *const ::windows_sys::core::GUID,
861 pub cguidInterfaces: u32,
862 pub lpstrCardNames: ::windows_sys::core::PWSTR,
863 pub nMaxCardNames: u32,
864 pub lpfnCheck: LPOCNCHKPROC,
865 pub lpfnConnect: LPOCNCONNPROCW,
866 pub lpfnDisconnect: LPOCNDSCPROC,
867 pub pvUserData: *mut ::core::ffi::c_void,
868 pub dwShareMode: u32,
869 pub dwPreferredProtocols: u32,
870 }
871 #[cfg(feature = "Win32_Foundation")]
872 impl ::core::marker::Copy for OPENCARD_SEARCH_CRITERIAW {}
873 #[cfg(feature = "Win32_Foundation")]
874 impl ::core::clone::Clone for OPENCARD_SEARCH_CRITERIAW {
875 fn clone(&self) -> Self {
876 *self
877 }
878 }
879 #[repr(C)]
880 pub struct READER_SEL_REQUEST {
881 pub dwShareMode: u32,
882 pub dwPreferredProtocols: u32,
883 pub MatchType: READER_SEL_REQUEST_MATCH_TYPE,
884 pub Anonymous: READER_SEL_REQUEST_0,
885 }
886 impl ::core::marker::Copy for READER_SEL_REQUEST {}
887 impl ::core::clone::Clone for READER_SEL_REQUEST {
888 fn clone(&self) -> Self {
889 *self
890 }
891 }
892 #[repr(C)]
893 pub union READER_SEL_REQUEST_0 {
894 pub ReaderAndContainerParameter: READER_SEL_REQUEST_0_0,
895 pub SerialNumberParameter: READER_SEL_REQUEST_0_1,
896 }
897 impl ::core::marker::Copy for READER_SEL_REQUEST_0 {}
898 impl ::core::clone::Clone for READER_SEL_REQUEST_0 {
899 fn clone(&self) -> Self {
900 *self
901 }
902 }
903 #[repr(C)]
904 pub struct READER_SEL_REQUEST_0_0 {
905 pub cbReaderNameOffset: u32,
906 pub cchReaderNameLength: u32,
907 pub cbContainerNameOffset: u32,
908 pub cchContainerNameLength: u32,
909 pub dwDesiredCardModuleVersion: u32,
910 pub dwCspFlags: u32,
911 }
912 impl ::core::marker::Copy for READER_SEL_REQUEST_0_0 {}
913 impl ::core::clone::Clone for READER_SEL_REQUEST_0_0 {
914 fn clone(&self) -> Self {
915 *self
916 }
917 }
918 #[repr(C)]
919 pub struct READER_SEL_REQUEST_0_1 {
920 pub cbSerialNumberOffset: u32,
921 pub cbSerialNumberLength: u32,
922 pub dwDesiredCardModuleVersion: u32,
923 }
924 impl ::core::marker::Copy for READER_SEL_REQUEST_0_1 {}
925 impl ::core::clone::Clone for READER_SEL_REQUEST_0_1 {
926 fn clone(&self) -> Self {
927 *self
928 }
929 }
930 #[repr(C)]
931 pub struct READER_SEL_RESPONSE {
932 pub cbReaderNameOffset: u32,
933 pub cchReaderNameLength: u32,
934 pub cbCardNameOffset: u32,
935 pub cchCardNameLength: u32,
936 }
937 impl ::core::marker::Copy for READER_SEL_RESPONSE {}
938 impl ::core::clone::Clone for READER_SEL_RESPONSE {
939 fn clone(&self) -> Self {
940 *self
941 }
942 }
943 #[repr(C)]
944 pub struct SCARD_ATRMASK {
945 pub cbAtr: u32,
946 pub rgbAtr: [u8; 36],
947 pub rgbMask: [u8; 36],
948 }
949 impl ::core::marker::Copy for SCARD_ATRMASK {}
950 impl ::core::clone::Clone for SCARD_ATRMASK {
951 fn clone(&self) -> Self {
952 *self
953 }
954 }
955 #[repr(C)]
956 pub struct SCARD_IO_REQUEST {
957 pub dwProtocol: u32,
958 pub cbPciLength: u32,
959 }
960 impl ::core::marker::Copy for SCARD_IO_REQUEST {}
961 impl ::core::clone::Clone for SCARD_IO_REQUEST {
962 fn clone(&self) -> Self {
963 *self
964 }
965 }
966 #[repr(C)]
967 pub struct SCARD_READERSTATEA {
968 pub szReader: ::windows_sys::core::PCSTR,
969 pub pvUserData: *mut ::core::ffi::c_void,
970 pub dwCurrentState: SCARD_STATE,
971 pub dwEventState: SCARD_STATE,
972 pub cbAtr: u32,
973 pub rgbAtr: [u8; 36],
974 }
975 impl ::core::marker::Copy for SCARD_READERSTATEA {}
976 impl ::core::clone::Clone for SCARD_READERSTATEA {
977 fn clone(&self) -> Self {
978 *self
979 }
980 }
981 #[repr(C)]
982 pub struct SCARD_READERSTATEW {
983 pub szReader: ::windows_sys::core::PCWSTR,
984 pub pvUserData: *mut ::core::ffi::c_void,
985 pub dwCurrentState: SCARD_STATE,
986 pub dwEventState: SCARD_STATE,
987 pub cbAtr: u32,
988 pub rgbAtr: [u8; 36],
989 }
990 impl ::core::marker::Copy for SCARD_READERSTATEW {}
991 impl ::core::clone::Clone for SCARD_READERSTATEW {
992 fn clone(&self) -> Self {
993 *self
994 }
995 }
996 #[repr(C)]
997 pub struct SCARD_T0_COMMAND {
998 pub bCla: u8,
999 pub bIns: u8,
1000 pub bP1: u8,
1001 pub bP2: u8,
1002 pub bP3: u8,
1003 }
1004 impl ::core::marker::Copy for SCARD_T0_COMMAND {}
1005 impl ::core::clone::Clone for SCARD_T0_COMMAND {
1006 fn clone(&self) -> Self {
1007 *self
1008 }
1009 }
1010 #[repr(C)]
1011 pub struct SCARD_T0_REQUEST {
1012 pub ioRequest: SCARD_IO_REQUEST,
1013 pub bSw1: u8,
1014 pub bSw2: u8,
1015 pub Anonymous: SCARD_T0_REQUEST_0,
1016 }
1017 impl ::core::marker::Copy for SCARD_T0_REQUEST {}
1018 impl ::core::clone::Clone for SCARD_T0_REQUEST {
1019 fn clone(&self) -> Self {
1020 *self
1021 }
1022 }
1023 #[repr(C)]
1024 pub union SCARD_T0_REQUEST_0 {
1025 pub CmdBytes: SCARD_T0_COMMAND,
1026 pub rgbHeader: [u8; 5],
1027 }
1028 impl ::core::marker::Copy for SCARD_T0_REQUEST_0 {}
1029 impl ::core::clone::Clone for SCARD_T0_REQUEST_0 {
1030 fn clone(&self) -> Self {
1031 *self
1032 }
1033 }
1034 #[repr(C)]
1035 pub struct SCARD_T1_REQUEST {
1036 pub ioRequest: SCARD_IO_REQUEST,
1037 }
1038 impl ::core::marker::Copy for SCARD_T1_REQUEST {}
1039 impl ::core::clone::Clone for SCARD_T1_REQUEST {
1040 fn clone(&self) -> Self {
1041 *self
1042 }
1043 }
1044 #[repr(C)]
1045 pub struct SecHandle {
1046 pub dwLower: usize,
1047 pub dwUpper: usize,
1048 }
1049 impl ::core::marker::Copy for SecHandle {}
1050 impl ::core::clone::Clone for SecHandle {
1051 fn clone(&self) -> Self {
1052 *self
1053 }
1054 }
1055 #[repr(C)]
1056 pub struct SecPkgContext_ClientCreds {
1057 pub AuthBufferLen: u32,
1058 pub AuthBuffer: *mut u8,
1059 }
1060 impl ::core::marker::Copy for SecPkgContext_ClientCreds {}
1061 impl ::core::clone::Clone for SecPkgContext_ClientCreds {
1062 fn clone(&self) -> Self {
1063 *self
1064 }
1065 }
1066 #[repr(C)]
1067 pub struct USERNAME_TARGET_CREDENTIAL_INFO {
1068 pub UserName: ::windows_sys::core::PWSTR,
1069 }
1070 impl ::core::marker::Copy for USERNAME_TARGET_CREDENTIAL_INFO {}
1071 impl ::core::clone::Clone for USERNAME_TARGET_CREDENTIAL_INFO {
1072 fn clone(&self) -> Self {
1073 *self
1074 }
1075 }
1076 #[doc = "Required features: `\"Win32_Foundation\"`"]
1077 #[cfg(feature = "Win32_Foundation")]
1078 pub type LPOCNCHKPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: usize, param2: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
1079 pub type LPOCNCONNPROCA = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PCSTR, param3: *const ::core::ffi::c_void) -> usize>;
1080 pub type LPOCNCONNPROCW = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: *const ::core::ffi::c_void) -> usize>;
1081 pub type LPOCNDSCPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: usize, param2: *const ::core::ffi::c_void) -> ()>;