Headers diff for cscapi.dll between 6.1.7601.17514-Windows_7.0 and 6.3.9600.17415-Windows_8.1 versions



 cscapi.h (6.1.7601.17514-Windows_7.0)   cscapi.h (6.3.9600.17415-Windows_8.1) 
skipping to change at line 23 skipping to change at line 23
These functions complement the COM-based interfaces and methods declared These functions complement the COM-based interfaces and methods declared
in cscobj.h. in cscobj.h.
--*/ --*/
#ifndef _INC_CSCAPI_H #ifndef _INC_CSCAPI_H
#define _INC_CSCAPI_H #define _INC_CSCAPI_H
#if _MSC_VER > 1000 #if _MSC_VER > 1000
#pragma once #pragma once
#endif #endif
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#include <specstrings.h> #include <specstrings.h>
// //
// Enable or disable the Offline Files feature. // Enable or disable the Offline Files feature.
// If *pbRebootRequired returns TRUE, a system restart is necessary to // If *pbRebootRequired returns TRUE, a system restart is necessary to
// complete the operation. // complete the operation.
// //
STDAPI_(DWORD) STDAPI_(DWORD)
OfflineFilesEnable( OfflineFilesEnable(
__in BOOL bEnable, _In_ BOOL bEnable,
__out BOOL *pbRebootRequired _Out_ BOOL *pbRebootRequired
);
#if (NTDDI_VERSION >= NTDDI_WIN8)
//
// Start Offline Files feature if it's available.
// If the feature is not available then a ERROR_NOT_SUPPORTED error is returned.
//
STDAPI_(DWORD)
OfflineFilesStart(
); );
#endif
// //
// Query the active/inactive and enabled/disabled state of the Offline Files fea ture. // Query the active/inactive and enabled/disabled state of the Offline Files fea ture.
// //
// - active/inactive describes the current running state. // - active/inactive describes the current running state.
// //
// - enabled/disabled describes the configured state as last successfully set b y // - enabled/disabled describes the configured state as last successfully set b y
// OfflineFilesEnable(). // OfflineFilesEnable().
// //
STDAPI_(DWORD) STDAPI_(DWORD)
OfflineFilesQueryStatus( OfflineFilesQueryStatus(
__out_opt BOOL *pbActive, _Out_opt_ BOOL *pbActive,
__out_opt BOOL *pbEnabled _Out_opt_ BOOL *pbEnabled
); );
#if (NTDDI_VERSION >= NTDDI_WIN8)
//
// Query the active/inactive, enabled/disabled and available/unavailable state o
f the
// Offline Files feature.
//
// - active/inactive describes the current running state.
//
// - enabled/disabled describes the configured state as last successfully set b
y
// OfflineFilesEnable().
//
// - available/unavailable describes the Offline Files service state.
// If the status is inactive/enabled/available then the OfflineFilesStart fun
ction
// can be used to transition the Offline Files feature to active state (no re
boot required).
//
STDAPI_(DWORD)
OfflineFilesQueryStatusEx(
_Out_opt_ BOOL *pbActive,
_Out_opt_ BOOL *pbEnabled,
_Out_opt_ BOOL *pbAvailable
);
#endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif // _INC_CSCAPI_H #endif // _INC_CSCAPI_H
 End of changes. 5 change blocks. 
4 lines changed or deleted 47 lines changed or added


 cscsearchapiif.hxx (6.1.7601.17514-Windows_7.0)   cscsearchapiif.hxx (6.3.9600.17415-Windows_8.1) 
skipping to change at line 19 skipping to change at line 19
Abstract: Abstract:
Public Interface definition for Offline Files Search Assistance. Public Interface definition for Offline Files Search Assistance.
--*/ --*/
#ifndef _INC_CSCSEARCHAPIIF_HXX #ifndef _INC_CSCSEARCHAPIIF_HXX
#define _INC_CSCSEARCHAPIIF_HXX #define _INC_CSCSEARCHAPIIF_HXX
#pragma once #pragma once
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
class CCscSearchApiInterface class CCscSearchApiInterface
{ {
public: public:
// //
// Memory Management // Memory Management
// //
virtual virtual
skipping to change at line 45 skipping to change at line 49
DelRef( DelRef(
) = 0; ) = 0;
// //
// CSC Search API Methods // CSC Search API Methods
// //
virtual virtual
DWORD DWORD
OfflineFilesOpenIndexingHandle( OfflineFilesOpenIndexingHandle(
__out PHANDLE Handle, _Out_ PHANDLE Handle,
__in PCWSTR FileName, _In_ PCWSTR FileName,
__in DWORD DesiredAccess, _In_ DWORD DesiredAccess,
__in DWORD ShareMode, _In_ DWORD ShareMode,
__in_opt PBOOL IsDirectoryOrFile _In_opt_ PBOOL IsDirectoryOrFile
) = 0; ) = 0;
}; };
#define _CSC_SEARCHAPI_INTERFACE_VERSION 0x1 #define _CSC_SEARCHAPI_INTERFACE_VERSION 0x1
#define _CSC_SEARCHAPI_INTERFACE_COOKIE 0x8fb92809 #define _CSC_SEARCHAPI_INTERFACE_COOKIE 0x8fb92809
#define CSC_SEARCHAPI_INTERFACE_VERSION ( ((_CSC_SEARCHAPI_INTERFACE_VERSION) << 16) | (sizeof(CCscSearchApiInterface)) ) #define CSC_SEARCHAPI_INTERFACE_VERSION ( ((_CSC_SEARCHAPI_INTERFACE_VERSION) << 16) | (sizeof(CCscSearchApiInterface)) )
#define CSC_SEARCHAPI_INTERFACE_COOKIE (_CSC_SEARCHAPI_INTERFACE_COOKIE) #define CSC_SEARCHAPI_INTERFACE_COOKIE (_CSC_SEARCHAPI_INTERFACE_COOKIE)
typedef typedef
NTSTATUS NTSTATUS
(*PFUNC_CSC_SEARCHAPI_GET_INTERFACE)( (*PFUNC_CSC_SEARCHAPI_GET_INTERFACE)(
__in ULONG Version, _In_ ULONG Version,
__in ULONG Cookie, _In_ ULONG Cookie,
__out CCscSearchApiInterface** Interface _Out_ CCscSearchApiInterface** Interface
); );
extern "C" extern "C"
NTSTATUS NTSTATUS
CscSearchApiGetInterface( CscSearchApiGetInterface(
__in ULONG Version, _In_ ULONG Version,
__in ULONG Cookie, _In_ ULONG Cookie,
__out CCscSearchApiInterface** Interface _Out_ CCscSearchApiInterface** Interface
); );
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif // _INC_CSCSEARCHAPIIF_HXX #endif // _INC_CSCSEARCHAPIIF_HXX
 End of changes. 5 change blocks. 
11 lines changed or deleted 18 lines changed or added

This html diff was produced by rfcdiff 1.41.