| davclnt.h (6.1.7601.18912-Windows_7.0) | | davclnt.h (6.3.9600.17415-Windows_8.1) |
| | |
| skipping to change at line 20 | | skipping to change at line 20 |
| | |
| This module defines the DAV specific functions that are exposed to the user | | This module defines the DAV specific functions that are exposed to the user |
| | |
| Revision History: | | Revision History: |
| | |
| --*/ | | --*/ |
| | |
| #ifndef _DAV_CLNT_H_ | | #ifndef _DAV_CLNT_H_ |
| #define _DAV_CLNT_H_ | | #define _DAV_CLNT_H_ |
| | |
|
| | #include <winapifamily.h> |
| | |
| | #pragma region Desktop Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C" { | | extern "C" { |
| #endif | | #endif |
| | |
| #define OPAQUE_HANDLE DWORD | | #define OPAQUE_HANDLE DWORD |
| | |
| // Certificates or other Auth types will be sent through this structure | | // Certificates or other Auth types will be sent through this structure |
| typedef struct _DAV_CALLBACK_AUTH_BLOB{ | | typedef struct _DAV_CALLBACK_AUTH_BLOB{ |
| PVOID pBuffer; | | PVOID pBuffer; |
| ULONG ulSize; // Size of AuthBlob, | | ULONG ulSize; // Size of AuthBlob, |
| | |
| skipping to change at line 64 | | skipping to change at line 69 |
| #define DAV_AUTHN_SCHEME_FBA 0x00100000 | | #define DAV_AUTHN_SCHEME_FBA 0x00100000 |
| | |
| typedef enum | | typedef enum |
| { | | { |
| DefaultBehavior, // Try the default behaviour. Dont use callback | | DefaultBehavior, // Try the default behaviour. Dont use callback |
| RetryRequest, // Retry the connection with the newly gathered creds | | RetryRequest, // Retry the connection with the newly gathered creds |
| CancelRequest // Cancel connection | | CancelRequest // Cancel connection |
| } AUTHNEXTSTEP; | | } AUTHNEXTSTEP; |
| | |
| // Function signature for the callback to delete the memory allocated by the cr
eds | | // Function signature for the callback to delete the memory allocated by the cr
eds |
|
| typedef DWORD (*PFNDAVAUTHCALLBACK_FREECRED)(__in PVOID pbuffer); | | typedef DWORD (CALLBACK *PFNDAVAUTHCALLBACK_FREECRED)(_In_ PVOID pbuffer); |
| | |
| // Function signature for the Callback that will harvest the credentials | | // Function signature for the Callback that will harvest the credentials |
|
| typedef DWORD (*PFNDAVAUTHCALLBACK)( | | typedef DWORD (CALLBACK *PFNDAVAUTHCALLBACK)( |
| __in LPWSTR lpwzServerName, // Server Name | | _In_ LPWSTR lpwzServerName, // Server Name |
| __in LPWSTR lpwzRemoteName, // Remote Name | | _In_ LPWSTR lpwzRemoteName, // Remote Name |
| __in DWORD dwAuthScheme, // Bitmap of DAV_AUTHN_SCHEME* values | | _In_ DWORD dwAuthScheme, // Bitmap of DAV_AUTHN_SCHEME* values |
| __in DWORD dwFlags, // The flags that was passed to NPADDConnect | | _In_ DWORD dwFlags, // The flags that was passed to NPADDConnect |
| ion | | ion |
| __inout PDAV_CALLBACK_CRED pCallbackCred, // Creds collected by the ca | | _Inout_ PDAV_CALLBACK_CRED pCallbackCred, // Creds collected by the ca |
| llback | | llback |
| __inout AUTHNEXTSTEP *NextStep, // Next step for DavClnt | | _Inout_ AUTHNEXTSTEP *NextStep, // Next step for DavClnt |
| __out PFNDAVAUTHCALLBACK_FREECRED *pFreeCred // Callback to free the memo | | _Out_ PFNDAVAUTHCALLBACK_FREECRED *pFreeCred // Callback to free the memo |
| ry allocated for creds by the callback | | ry allocated for creds by the callback |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavAddConnection( | | DavAddConnection( |
|
| __inout HANDLE *ConnectionHandle, | | _Inout_ HANDLE *ConnectionHandle, |
| __in LPCWSTR RemoteName, | | _In_ LPCWSTR RemoteName, |
| __in_opt LPCWSTR UserName, | | _In_opt_ LPCWSTR UserName, |
| __in_opt LPCWSTR Password, | | _In_opt_ LPCWSTR Password, |
| __in_bcount(CertSize) PBYTE ClientCert, | | _In_reads_bytes_(CertSize) PBYTE ClientCert, |
| __in DWORD CertSize | | _In_ DWORD CertSize |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavDeleteConnection( | | DavDeleteConnection( |
|
| __in HANDLE ConnectionHandle | | _In_ HANDLE ConnectionHandle |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavGetUNCFromHTTPPath ( | | DavGetUNCFromHTTPPath ( |
|
| __in LPCWSTR HttpPath, | | _In_ LPCWSTR HttpPath, |
| __out_ecount(*lpSize) LPWSTR UncPath, | | _Out_writes_(*lpSize) LPWSTR UncPath, |
| IN OUT LPDWORD lpSize | | IN OUT LPDWORD lpSize |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavGetHTTPFromUNCPath ( | | DavGetHTTPFromUNCPath ( |
|
| __in LPCWSTR UncPath, | | _In_ LPCWSTR UncPath, |
| __out_ecount(*lpSize) LPWSTR HttpPath, | | _Out_writes_(*lpSize) LPWSTR HttpPath, |
| IN OUT LPDWORD lpSize | | IN OUT LPDWORD lpSize |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavGetTheLockOwnerOfTheFile( | | DavGetTheLockOwnerOfTheFile( |
|
| __in LPCWSTR FileName, | | _In_ LPCWSTR FileName, |
| __out_bcount_opt(*LockOwnerNameLengthInBytes) PWSTR LockOwnerName, | | _Out_writes_bytes_opt_(*LockOwnerNameLengthInBytes) PWSTR LockOwnerName, |
| __inout PULONG LockOwnerNameLengthInBytes | | _Inout_ PULONG LockOwnerNameLengthInBytes |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavGetExtendedError( | | DavGetExtendedError( |
|
| __in HANDLE hFile, | | _In_ HANDLE hFile, |
| __out DWORD *ExtError, | | _Out_ DWORD *ExtError, |
| __out_ecount(*cChSize) LPWSTR ExtErrorString, | | _Out_writes_(*cChSize) LPWSTR ExtErrorString, |
| __inout DWORD *cChSize | | _Inout_ DWORD *cChSize |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavFlushFile( | | DavFlushFile( |
|
| __in HANDLE hFile | | _In_ HANDLE hFile |
| ); | | ); |
| | |
| DWORD | | DWORD |
| WINAPI | | WINAPI |
| DavInvalidateCache( | | DavInvalidateCache( |
|
| __in LPWSTR URLName | | _In_ LPWSTR URLName |
| ); | | ); |
| | |
| DWORD | | DWORD |
| APIENTRY | | APIENTRY |
| DavCancelConnectionsToServer( | | DavCancelConnectionsToServer( |
|
| __in LPWSTR lpName, | | _In_ LPWSTR lpName, |
| BOOL fForce | | BOOL fForce |
| ); | | ); |
| | |
| OPAQUE_HANDLE | | OPAQUE_HANDLE |
| APIENTRY | | APIENTRY |
|
| DavRegisterAuthCallback(__in PFNDAVAUTHCALLBACK CallBack, | | DavRegisterAuthCallback(_In_ PFNDAVAUTHCALLBACK CallBack, |
| __in ULONG Version); | | _In_ ULONG Version); |
| | |
| VOID | | VOID |
| APIENTRY | | APIENTRY |
|
| DavUnregisterAuthCallback(__in OPAQUE_HANDLE hCallback); | | DavUnregisterAuthCallback(_In_ OPAQUE_HANDLE hCallback); |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif | | #endif |
| | |
|
| | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ |
| | #pragma endregion |
| | |
| #endif | | #endif |
| | |
| End of changes. 15 change blocks. |
| 36 lines changed or deleted | | 44 lines changed or added |
|