Headers diff for clfsw32.dll between 6.1.7601.18777-Windows_7.0 and 6.3.9600.17415-Windows_8.1 versions



 clfs.h (6.1.7601.18777-Windows_7.0)   clfs.h (6.3.9600.17415-Windows_8.1) 
skipping to change at line 22 skipping to change at line 22
common log file system. common log file system.
Author: Author:
Dexter Bradshaw [DexterB] 09-Dec-1998 Dexter Bradshaw [DexterB] 09-Dec-1998
Revision History: Revision History:
=============================================================================*/ =============================================================================*/
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
// begin_wdm // begin_wdm
#ifndef _CLFS_PUBLIC_H_ #ifndef _CLFS_PUBLIC_H_
#define _CLFS_PUBLIC_H_ #define _CLFS_PUBLIC_H_
// end_wdm // end_wdm
#ifdef CLFS_KERNEL_MODE
// begin_wdm // begin_wdm
#if !defined(CLFSUSER_API)
#if defined(__CLFSUSER_EXPORTS__)
#define CLFSUSER_API #define CLFSUSER_API
#else
#define CLFSUSER_API __declspec(dllimport)
#endif
#endif
// end_wdm // end_wdm
#else #ifndef CLFS_KERNEL_MODE
#include <stdio.h> #include <stdio.h>
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
// //
// PFILE // PFILE
// //
// Define PFILE to be a pointer to _iobuf * // Define PFILE to be a pointer to _iobuf *
// //
typedef FILE *PFILE, **PPFILE; typedef FILE *PFILE, **PPFILE;
typedef DWORD CLFSSTATUS; typedef DWORD CLFSSTATUS;
# ifdef __CLFSUSER_EXPORTS__
# define CLFSUSER_API
# else
# define CLFSUSER_API __declspec(dllimport)
# endif /* __CLFSUSER_EXPORTS__ */
# define ClfsLsnEqual LsnEqual # define ClfsLsnEqual LsnEqual
# define ClfsLsnLess LsnLess # define ClfsLsnLess LsnLess
# define ClfsLsnGreater LsnGreater # define ClfsLsnGreater LsnGreater
# define ClfsLsnNull LsnNull # define ClfsLsnNull LsnNull
# define ClfsLsnCreate LsnCreate # define ClfsLsnCreate LsnCreate
# define ClfsLsnContainer LsnContainer # define ClfsLsnContainer LsnContainer
# define ClfsLsnBlockOffset LsnBlockOffset # define ClfsLsnBlockOffset LsnBlockOffset
# define ClfsLsnRecordSequence LsnRecordSequence # define ClfsLsnRecordSequence LsnRecordSequence
# define ClfsLsnInvalid LsnInvalid # define ClfsLsnInvalid LsnInvalid
# define ClfsLsnIncrement LsnIncrement # define ClfsLsnIncrement LsnIncrement
skipping to change at line 910 skipping to change at line 915
// //
// Return Value: // Return Value:
// //
// TRUE if LSN values are equivalent and FALSE otherwise. // TRUE if LSN values are equivalent and FALSE otherwise.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API BOOLEAN NTAPI CLFSUSER_API BOOLEAN NTAPI
ClfsLsnEqual ClfsLsnEqual
( (
__in const CLFS_LSN* plsn1, _In_ const CLFS_LSN* plsn1,
__in const CLFS_LSN* plsn2 _In_ const CLFS_LSN* plsn2
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnLess // ClfsLsnLess
// //
// Method Description: // Method Description:
// //
// Check if LSN1 is less than LSN2. // Check if LSN1 is less than LSN2.
skipping to change at line 938 skipping to change at line 943
// //
// Return Value: // Return Value:
// //
// TRUE if LSN1 is less than LSN2 and FALSE otherwise. // TRUE if LSN1 is less than LSN2 and FALSE otherwise.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API BOOLEAN NTAPI CLFSUSER_API BOOLEAN NTAPI
ClfsLsnLess ClfsLsnLess
( (
__in const CLFS_LSN* plsn1, _In_ const CLFS_LSN* plsn1,
__in const CLFS_LSN* plsn2 _In_ const CLFS_LSN* plsn2
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnGreater // ClfsLsnGreater
// //
// Method Description: // Method Description:
// //
// Check if LSN1 is greater than LSN2. // Check if LSN1 is greater than LSN2.
skipping to change at line 966 skipping to change at line 971
// //
// Return Value: // Return Value:
// //
// TRUE if LSN1 is greater than LSN2 and FALSE otherwise. // TRUE if LSN1 is greater than LSN2 and FALSE otherwise.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API BOOLEAN NTAPI CLFSUSER_API BOOLEAN NTAPI
ClfsLsnGreater ClfsLsnGreater
( (
__in const CLFS_LSN* plsn1, _In_ const CLFS_LSN* plsn1,
__in const CLFS_LSN* plsn2 _In_ const CLFS_LSN* plsn2
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnNull (Inline) // ClfsLsnNull (Inline)
// //
// Method Description: // Method Description:
// //
// Check whether or not an LSN is CLFS_LSN_NULL. // Check whether or not an LSN is CLFS_LSN_NULL.
skipping to change at line 994 skipping to change at line 999
// Return Value: // Return Value:
// //
// TRUE if and only if an LSN is equivalent to CLFS_LSN_NULL. // TRUE if and only if an LSN is equivalent to CLFS_LSN_NULL.
// LSNs with the value CLFS_LSN_INVALID will return FALSE. // LSNs with the value CLFS_LSN_INVALID will return FALSE.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API BOOLEAN NTAPI CLFSUSER_API BOOLEAN NTAPI
ClfsLsnNull ClfsLsnNull
( (
__in const CLFS_LSN* plsn _In_ const CLFS_LSN* plsn
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnContainer (Inline) // ClfsLsnContainer (Inline)
// //
// Routine Description: // Routine Description:
// //
// Extract the container identifier from the LSN. // Extract the container identifier from the LSN.
skipping to change at line 1019 skipping to change at line 1024
// //
// Return Value: // Return Value:
// //
// Returns the container identifier for the LSN. // Returns the container identifier for the LSN.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API CLFS_CONTAINER_ID NTAPI CLFSUSER_API CLFS_CONTAINER_ID NTAPI
ClfsLsnContainer ClfsLsnContainer
( (
__in const CLFS_LSN* plsn _In_ const CLFS_LSN* plsn
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnCreate (Inline) // ClfsLsnCreate (Inline)
// //
// Routine Description: // Routine Description:
// //
// Create an LSN given a log identifier, a container identifier, a block // Create an LSN given a log identifier, a container identifier, a block
skipping to change at line 1049 skipping to change at line 1054
// Return Value: // Return Value:
// //
// Returns a valid LSN if successful, otherwise it returns // Returns a valid LSN if successful, otherwise it returns
// CLFS_LSN_INVALID // CLFS_LSN_INVALID
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API CLFS_LSN NTAPI CLFSUSER_API CLFS_LSN NTAPI
ClfsLsnCreate ClfsLsnCreate
( (
__in CLFS_CONTAINER_ID cidContainer, _In_ CLFS_CONTAINER_ID cidContainer,
__in ULONG offBlock, _In_ ULONG offBlock,
__in ULONG cRecord _In_ ULONG cRecord
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnBlockOffset (Inline) // ClfsLsnBlockOffset (Inline)
// //
// Routine Description: // Routine Description:
// //
// Extract the block offset from the LSN. // Extract the block offset from the LSN.
skipping to change at line 1076 skipping to change at line 1081
// //
// Return Value: // Return Value:
// //
// Returns the block offset for the LSN. // Returns the block offset for the LSN.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API ULONG NTAPI CLFSUSER_API ULONG NTAPI
ClfsLsnBlockOffset ClfsLsnBlockOffset
( (
__in const CLFS_LSN* plsn _In_ const CLFS_LSN* plsn
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnRecordSequence (Inline) // ClfsLsnRecordSequence (Inline)
// //
// Routine Description: // Routine Description:
// //
// Extract the bucket identifier from the LSN. // Extract the bucket identifier from the LSN.
skipping to change at line 1101 skipping to change at line 1106
// //
// Return Value: // Return Value:
// //
// Returns the bucket identifier for the LSN. // Returns the bucket identifier for the LSN.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API ULONG NTAPI CLFSUSER_API ULONG NTAPI
ClfsLsnRecordSequence ClfsLsnRecordSequence
( (
__in const CLFS_LSN* plsn _In_ const CLFS_LSN* plsn
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnInvalid // ClfsLsnInvalid
// //
// Method Description: // Method Description:
// //
// Check whether or not an LSN is CLFS_LSN_INVALID. // Check whether or not an LSN is CLFS_LSN_INVALID.
skipping to change at line 1128 skipping to change at line 1133
// Return Value: // Return Value:
// //
// TRUE if and only if an LSN is equivalent to CLFS_LSN_INVALID. // TRUE if and only if an LSN is equivalent to CLFS_LSN_INVALID.
// LSNs with the value CLFS_LSN_NULL will return FALSE. // LSNs with the value CLFS_LSN_NULL will return FALSE.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API BOOLEAN NTAPI CLFSUSER_API BOOLEAN NTAPI
ClfsLsnInvalid ClfsLsnInvalid
( (
__in const CLFS_LSN* plsn _In_ const CLFS_LSN* plsn
); );
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// ClfsLsnIncrement // ClfsLsnIncrement
// //
// Method Description: // Method Description:
// //
// Increment and LSN by 1 // Increment and LSN by 1
skipping to change at line 1153 skipping to change at line 1158
// //
// //
// Return Value: // Return Value:
// //
// A valid LSN next in sequence to the input LSN, if successful. // A valid LSN next in sequence to the input LSN, if successful.
// Otherwise, this function returns CLFS_LSN_INVALID. // Otherwise, this function returns CLFS_LSN_INVALID.
// //
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
CLFSUSER_API CLFS_LSN NTAPI CLFSUSER_API CLFS_LSN NTAPI
ClfsLsnIncrement (__in PCLFS_LSN plsn); ClfsLsnIncrement (_In_ PCLFS_LSN plsn);
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
#ifdef CLFS_OPERATORS #ifdef CLFS_OPERATORS
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
// //
// LSN arithmetic increment operator. // LSN arithmetic increment operator.
// //
inline CLFS_LSN inline CLFS_LSN
operator++ operator++
( (
__inout CLFS_LSN& refLsn _Inout_ CLFS_LSN& refLsn
) )
{ {
// //
// Prefix increment operator. // Prefix increment operator.
// //
refLsn = ClfsLsnIncrement (&refLsn); refLsn = ClfsLsnIncrement (&refLsn);
return refLsn; return refLsn;
} }
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
// //
// BOOLEAN LSN operators. // BOOLEAN LSN operators.
// //
inline BOOLEAN inline BOOLEAN
operator< operator<
( (
__in const CLFS_LSN& refLsn1, _In_ const CLFS_LSN& refLsn1,
__in const CLFS_LSN& refLsn2 _In_ const CLFS_LSN& refLsn2
) )
{ {
return (ClfsLsnLess ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2)); return (ClfsLsnLess ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2));
} }
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
inline BOOLEAN inline BOOLEAN
operator> operator>
( (
__in const CLFS_LSN& refLsn1, _In_ const CLFS_LSN& refLsn1,
__in const CLFS_LSN& refLsn2 _In_ const CLFS_LSN& refLsn2
) )
{ {
return (ClfsLsnGreater ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2)); return (ClfsLsnGreater ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2));
} }
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
inline BOOLEAN inline BOOLEAN
operator== operator==
( (
__in const CLFS_LSN& refLsn1, _In_ const CLFS_LSN& refLsn1,
__in const CLFS_LSN& refLsn2 _In_ const CLFS_LSN& refLsn2
) )
{ {
return (ClfsLsnEqual ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2)); return (ClfsLsnEqual ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2));
} }
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
inline BOOLEAN inline BOOLEAN
operator!= operator!=
( (
__in const CLFS_LSN& refLsn1, _In_ const CLFS_LSN& refLsn1,
__in const CLFS_LSN& refLsn2 _In_ const CLFS_LSN& refLsn2
) )
{ {
return (!ClfsLsnEqual ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2)); return (!ClfsLsnEqual ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2));
} }
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
inline BOOLEAN inline BOOLEAN
operator<= operator<=
( (
__in const CLFS_LSN& refLsn1, _In_ const CLFS_LSN& refLsn1,
__in const CLFS_LSN& refLsn2 _In_ const CLFS_LSN& refLsn2
) )
{ {
return (!ClfsLsnGreater ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2)); return (!ClfsLsnGreater ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2));
} }
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03)
inline BOOLEAN inline BOOLEAN
operator>= operator>=
( (
__in const CLFS_LSN& refLsn1, _In_ const CLFS_LSN& refLsn1,
__in const CLFS_LSN& refLsn2 _In_ const CLFS_LSN& refLsn2
) )
{ {
return (!ClfsLsnLess ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2)); return (!ClfsLsnLess ((PCLFS_LSN) &refLsn1, (PCLFS_LSN) &refLsn2));
} }
#endif /* NTDDI_VERSION || _WIN32_WINNT */ #endif /* NTDDI_VERSION || _WIN32_WINNT */
#endif /* CLFS_OPERATORS */ #endif /* CLFS_OPERATORS */
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* _CLFS_PUBLIC_H_ */ #endif /* _CLFS_PUBLIC_H_ */
// end_wdm // end_wdm
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// END OF FILE // END OF FILE
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
 End of changes. 24 change blocks. 
37 lines changed or deleted 45 lines changed or added


 clfsmgmtw32.h (6.1.7601.18777-Windows_7.0)   clfsmgmtw32.h (6.3.9600.17415-Windows_8.1) 
skipping to change at line 27 skipping to change at line 27
Environment: Environment:
User Mode User Mode
Revision History: Revision History:
=============================================================================*/ =============================================================================*/
#ifndef __CLFSMGMTW32_H__ #ifndef __CLFSMGMTW32_H__
#define __CLFSMGMTW32_H__ #define __CLFSMGMTW32_H__
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifdef CLFS_KERNEL_MODE #ifdef CLFS_KERNEL_MODE
# undef CLFS_KERNEL_MODE # undef CLFS_KERNEL_MODE
#endif /* CLFS_KERNEL_MODE */ #endif /* CLFS_KERNEL_MODE */
#include <clfsmgmt.h> #include <clfsmgmt.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
skipping to change at line 221 skipping to change at line 225
// Registers a client as one may not wish to participate in the CLFS management // Registers a client as one may not wish to participate in the CLFS management
// scheme but does wish to be notified of certain events in the log. // scheme but does wish to be notified of certain events in the log.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI RegisterForLogWriteNotification ( CLFSUSER_API BOOL WINAPI RegisterForLogWriteNotification (
IN HANDLE hLog, IN HANDLE hLog,
IN ULONG cbThreshold, IN ULONG cbThreshold,
IN BOOL fEnable IN BOOL fEnable
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#endif /* __CLFSMGMTW32_H__ */
#ifdef __cplusplus #ifdef __cplusplus
} // extern "C" } // extern "C"
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif /* __CLFSMGMTW32_H__ */
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// END OF FILE // END OF FILE
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
 End of changes. 3 change blocks. 
2 lines changed or deleted 9 lines changed or added


 clfsw32.h (6.1.7601.18777-Windows_7.0)   clfsw32.h (6.3.9600.17415-Windows_8.1) 
skipping to change at line 27 skipping to change at line 27
Environment: Environment:
User Mode User Mode
Revision History: Revision History:
=============================================================================*/ =============================================================================*/
#ifndef __CLFSW32_H__ #ifndef __CLFSW32_H__
#define __CLFSW32_H__ #define __CLFSW32_H__
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// CLFS INCLUDES // CLFS INCLUDES
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#ifdef CLFS_KERNEL_MODE #ifdef CLFS_KERNEL_MODE
# undef CLFS_KERNEL_MODE # undef CLFS_KERNEL_MODE
#endif CLFS_KERNEL_MODE #endif CLFS_KERNEL_MODE
#include <clfs.h> #include <clfs.h>
skipping to change at line 198 skipping to change at line 202
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// AddLogContainer // AddLogContainer
// //
// Adds a log container to a given physical file identified by the log // Adds a log container to a given physical file identified by the log
// handle. // handle.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI AddLogContainer ( CLFSUSER_API BOOL WINAPI AddLogContainer (
__in HANDLE hLog, _In_ HANDLE hLog,
__in_opt PULONGLONG pcbContainer, _In_opt_ PULONGLONG pcbContainer,
__in LPWSTR pwszContainerPath, _In_ LPWSTR pwszContainerPath,
__inout_opt LPVOID pReserved _Inout_opt_ LPVOID pReserved
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// AddLogContainerSet // AddLogContainerSet
// //
// Adds a set of log containers to a given physical file identified by the log // Adds a set of log containers to a given physical file identified by the log
// handle. // handle.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI AddLogContainerSet ( CLFSUSER_API BOOL WINAPI AddLogContainerSet (
__in HANDLE hLog, _In_ HANDLE hLog,
__in USHORT cContainer, _In_ USHORT cContainer,
__in_opt PULONGLONG pcbContainer, _In_opt_ PULONGLONG pcbContainer,
__in_ecount(cContainer) LPWSTR *rgwszContainerPath, _In_reads_(cContainer) LPWSTR *rgwszContainerPath,
__inout_opt LPVOID pReserved _Inout_opt_ LPVOID pReserved
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// RemoveLogContainer // RemoveLogContainer
// //
// Removes a log container from a physical log file identified by // Removes a log container from a physical log file identified by
// the log handle. // the log handle.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI RemoveLogContainer ( CLFSUSER_API BOOL WINAPI RemoveLogContainer (
__in HANDLE hLog, _In_ HANDLE hLog,
__in LPWSTR pwszContainerPath, _In_ LPWSTR pwszContainerPath,
__in BOOL fForce, _In_ BOOL fForce,
__inout_opt LPVOID pReserved _Inout_opt_ LPVOID pReserved
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// RemoveLogContainerSet // RemoveLogContainerSet
// //
// Removes a set of log containers from a physical log file identified by // Removes a set of log containers from a physical log file identified by
// the log handle. // the log handle.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI RemoveLogContainerSet ( CLFSUSER_API BOOL WINAPI RemoveLogContainerSet (
__in HANDLE hLog, _In_ HANDLE hLog,
__in USHORT cContainer, _In_ USHORT cContainer,
__in_ecount(cContainer) LPWSTR *rgwszContainerPath, _In_reads_(cContainer) LPWSTR *rgwszContainerPath,
__in BOOL fForce, _In_ BOOL fForce,
__inout_opt LPVOID pReserved _Inout_opt_ LPVOID pReserved
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// SetLogArchiveTail // SetLogArchiveTail
// //
// Sets the archive tail for either a client or physical log file // Sets the archive tail for either a client or physical log file
// depending on the type of the log handle. // depending on the type of the log handle.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
skipping to change at line 300 skipping to change at line 304
#if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) #if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// TruncateLog // TruncateLog
// //
// This function sets the end of log to the value specified by the plsnEnd // This function sets the end of log to the value specified by the plsnEnd
// parameter. // parameter.
// //
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI TruncateLog ( CLFSUSER_API BOOL WINAPI TruncateLog (
__in PVOID pvMarshal, _In_ PVOID pvMarshal,
__in PCLFS_LSN plsnEnd, _In_ PCLFS_LSN plsnEnd,
__inout_opt LPOVERLAPPED lpOverlapped _Inout_opt_ LPOVERLAPPED lpOverlapped
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// CreateLogContainerScanContext // CreateLogContainerScanContext
// //
// Create a scan context to enumerate scan descriptors for storage containers // Create a scan context to enumerate scan descriptors for storage containers
// that back the physical log file stream. // that back the physical log file stream.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
skipping to change at line 476 skipping to change at line 480
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) #if (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// GetLogReservationInfo // GetLogReservationInfo
// //
// Get the reservation information from a marshalling context // Get the reservation information from a marshalling context
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI GetLogReservationInfo ( CLFSUSER_API BOOL WINAPI GetLogReservationInfo (
__in PVOID pvMarshal, _In_ PVOID pvMarshal,
__out PULONG pcbRecordNumber, _Out_ PULONG pcbRecordNumber,
__out PLONGLONG pcbUserReservation, _Out_ PLONGLONG pcbUserReservation,
__out PLONGLONG pcbCommitReservation _Out_ PLONGLONG pcbCommitReservation
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// AdvanceLogBase // AdvanceLogBase
// //
// Set a new base LSN for a log stream without writing a restart record. // Set a new base LSN for a log stream without writing a restart record.
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
skipping to change at line 677 skipping to change at line 681
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// DumpLogRecords // DumpLogRecords
// //
// Given log file name, scan a log file and dump log records to a file stream. // Given log file name, scan a log file and dump log records to a file stream.
// //
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI DumpLogRecords ( CLFSUSER_API BOOL WINAPI DumpLogRecords (
__in PWSTR pwszLogFileName, _In_ PWSTR pwszLogFileName,
__in CLFS_RECORD_TYPE fRecordType, _In_ CLFS_RECORD_TYPE fRecordType,
__in_opt PCLFS_LSN plsnStart, _In_opt_ PCLFS_LSN plsnStart,
__in_opt PCLFS_LSN plsnEnd, _In_opt_ PCLFS_LSN plsnEnd,
__in_opt PFILE pstrmOut, _In_opt_ PFILE pstrmOut,
__in_opt CLFS_PRINT_RECORD_ROUTINE pfnPrintRecord, _In_opt_ CLFS_PRINT_RECORD_ROUTINE pfnPrintRecord,
__in_opt CLFS_BLOCK_ALLOCATION pfnAllocBlock, _In_opt_ CLFS_BLOCK_ALLOCATION pfnAllocBlock,
__in_opt CLFS_BLOCK_DEALLOCATION pfnFreeBlock, _In_opt_ CLFS_BLOCK_DEALLOCATION pfnFreeBlock,
__in_opt PVOID pvBlockAllocContext, _In_opt_ PVOID pvBlockAllocContext,
__in ULONG cbBlock, _In_ ULONG cbBlock,
__in ULONG cMaxBlocks _In_ ULONG cMaxBlocks
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// PrepareLogArchive // PrepareLogArchive
// //
// Snapshots the current active log and builds an ordered set of log archive // Snapshots the current active log and builds an ordered set of log archive
// descriptors describing the logically contiguous active log extents. This // descriptors describing the logically contiguous active log extents. This
// function also allocates and initializes a log archvie context for use in // function also allocates and initializes a log archvie context for use in
// GetNextLogArchiveExtent and ReadLogArchiveMetadata. // GetNextLogArchiveExtent and ReadLogArchiveMetadata.
// //
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
CLFSUSER_API BOOL WINAPI PrepareLogArchive ( CLFSUSER_API BOOL WINAPI PrepareLogArchive (
__in HANDLE hLog, _In_ HANDLE hLog,
__inout_ecount(cLen) PWSTR pszBaseLogFileName, _Inout_updates_(cLen) PWSTR pszBaseLogFileName,
__in ULONG cLen, _In_ ULONG cLen,
__in_opt const PCLFS_LSN plsnLow, _In_opt_ const PCLFS_LSN plsnLow,
__in_opt const PCLFS_LSN plsnHigh, _In_opt_ const PCLFS_LSN plsnHigh,
__out_opt PULONG pcActualLength, _Out_opt_ PULONG pcActualLength,
__out PULONGLONG poffBaseLogFileData, _Out_ PULONGLONG poffBaseLogFileData,
__out PULONGLONG pcbBaseLogFileLength, _Out_ PULONGLONG pcbBaseLogFileLength,
__out PCLFS_LSN plsnBase, _Out_ PCLFS_LSN plsnBase,
__out PCLFS_LSN plsnLast, _Out_ PCLFS_LSN plsnLast,
__out PCLFS_LSN plsnCurrentArchiveTail, _Out_ PCLFS_LSN plsnCurrentArchiveTail,
__out PCLFS_LOG_ARCHIVE_CONTEXT ppvArchiveContext _Out_ PCLFS_LOG_ARCHIVE_CONTEXT ppvArchiveContext
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#if (_WIN32_WINNT >= _WIN32_WINNT_WS03) #if (_WIN32_WINNT >= _WIN32_WINNT_WS03)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// ReadLogArchiveMetadata // ReadLogArchiveMetadata
// //
// Copies a portion of the metadata snapshot taken at the time of an invocation // Copies a portion of the metadata snapshot taken at the time of an invocation
// of PrepareLogArchvie to a user buffer. // of PrepareLogArchvie to a user buffer.
// //
skipping to change at line 822 skipping to change at line 826
IN ULONG cbStatsBuffer, IN ULONG cbStatsBuffer,
IN CLFS_IOSTATS_CLASS eStatsClass, IN CLFS_IOSTATS_CLASS eStatsClass,
OUT PULONG pcbStatsWritten OPTIONAL OUT PULONG pcbStatsWritten OPTIONAL
); );
#endif /* _WIN32_WINNT */ #endif /* _WIN32_WINNT */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif __CLFSW32_H__ #endif __CLFSW32_H__
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// END OF FILE // END OF FILE
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
 End of changes. 10 change blocks. 
48 lines changed or deleted 55 lines changed or added

This html diff was produced by rfcdiff 1.41.