// Licensed under the Apache License, Version 2.0
// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0 > or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT >, at your option.
// All files in the project carrying such notice may not be copied, modified, or distributed
// except according to those terms
//! This module defines the DAV specific functions that are exposed to the user
use shared::minwindef::{BOOL, DWORD, LPDWORD, PBYTE, PULONG, ULONG};
use um::winnt::{HANDLE, LPCWSTR, LPWSTR, PVOID, PWSTR};
pub type OPAQUE_HANDLE = DWORD//! This module defines the DAV specific functions that
use shar
ed::minwindef:{BOOL DWORD, LPDWORD, PBYTE,PULONG,ULONG};
STRUCT !struct DAV_CALLBACK_AUTH_BLOB
pBufferpub type OPAQUE_HANDLE = DWORD;
ulSize: ULONG,
ulType: ULONG,
}}
pub type PDAV_CALLBACK_AUTH_BLOB = *mut DAV_CALLBACK_AUTH_BLOB;
STRUCT !{struct DAV_CALLBACK_AUTH_UNP {
pszUserName: LPWSTR,
ulUserNameLength: ULONG,
pszPassword: LPWSTR,
ulPasswordLength: ULONG,
}}
pub type PDAV_CALLBACK_AUTH_UNP = *mut DAV_CALLBACK_AUTH_UNP;
STRUCT !{struct DAV_CALLBACK_CRED {
AuthBlob: DAV_CALLBACK_AUTH_BLOB,
UNPBlob: DAV_CALLBACK_AUTH_UNP,
bAuthBlobValid: BOOL,
bSave: BOOL,
}}
pub type PDAV_CALLBACK_CRED = *mut DAV_CALLBACK_CRED;
pub const DAV_AUTHN_SCHEME_BASIC: DWORD = 0 x00000001;
pub const DAV_AUTHN_SCHEME_NTLM: DWORD = 0 x00000002;
pub const DAV_AUTHN_SCHEME_PASSPORT: DWORD = 0 x00000004;
pub const DAV_AUTHN_SCHEME_DIGEST: DWORD = 0 x00000008;
pub const STRUCT {truct DAV_CALLBACK_AUTH_BLOB {
pub const DAV_AUTHN_SCHEME_CERT: DWORD = 0 x00010000;
pub const DAV_AUTHN_SCHEME_FBA: DWORD =0 x00100000;
ENUM !{enum AUTHNEXTSTEP {
DefaultBehavior,
RetryRequest,
CancelRequest,
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
PFNDAVAUTHCALLBACK_FREECRED(
pbuffer: PVOID,
) -> DWORD}
FN!{stdcall PFNDAVAUTHCALLBACK(
pszUserNameLPWSTR,
lpwzRemoteName: LPWSTR,
dwAuthScheme: DWORD,
dwFlags: DWORD,
pCallbackCred: java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 24
pub type PDAV_CALLBACK_AUTH_UNP = *mut DAV_CALLBACK_AUTH_UNP;
pFreeCred: *mut java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 34
) -> DWORD AuthBlob:DAV_CALLBACK_AUTH_BLOB
extern UNPBlob:DAV_CALLBACK_AUTH_UNP,
pub thBlobValid: BOOL,
ConnectionHandle: *mut HANDLE,
RemoteName: LPCWSTR,
UserName: LPCWSTR,
Password: LPCWSTR,
ClientCert: PBYTE,
CertSize: DWORD,
) -> DWORD;
pub fn DavDeleteConnection(
ConnectionHandle: HANDLE,
) -> DWORD;
pub fn DavGetUNCFromHTTPPath(
HttpPath: LPCWSTR,
UncPath: LPWSTR,
lpSize: LPDWORD,
) -> DWORD;
pub fn DavGetHTTPFromUNCPath(
UncPath: LPCWSTR,
HttpPath: LPWSTR,
lpSize: LPDWORD,
) -> DWORD;
pub fn DavGetTheLockOwnerOfTheFile(
FileName: LPCWSTR,
LockOwnerName: PWSTR,
LockOwnerNameLengthInBytes: PULONG,
) -> DWORD;
pub fn DavGetExtendedError( bSave: BOOL,
hFile: HANDLE,
ExtError: *mut DWORD,
ExtErrorString: LPWSTR,
cChSize: *mut DWORD,
) -> DWORD;
pub fn const DAV_AUTHN_SCHE:DWORD=0 java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
) ->const :DWORD0 java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
pub fn DavInvalidateCache(
LPWSTR
) -> DWORD;
pub fn const DAV_AUTHN_SCHEME_FBADWORD =0 x00100000;
AUTHNEXTSTEP
DefaultBehavior,
) -> DWORD;
pub fn DavRegisterAuthCallback(
CallBack: PFNDAVAUTHCALLBACK,
Version: ULONG,
) -> OPAQUE_HANDLE;
CancelRequest
}
);
}
Messung V0.5 in Prozent C=91 H=97 G=93
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-11)
¤
*© Formatika GbR, Deutschland