| clfs.h (6.0.6001.18000-Windows 6.0) | | clfs.h (6.1.7601.18777-Windows 7.0) |
| | |
| skipping to change at line 479 | | skipping to change at line 479 |
| // | | // |
| | |
| typedef struct _CLFS_STREAM_ID_INFORMATION | | typedef struct _CLFS_STREAM_ID_INFORMATION |
| { | | { |
| | |
| UCHAR StreamIdentifier; | | UCHAR StreamIdentifier; |
| | |
| } CLFS_STREAM_ID_INFORMATION, *PCLFS_STREAM_ID_INFORMATION, **PPCLFS_STREAM_ID_I
NFORMATION; | | } CLFS_STREAM_ID_INFORMATION, *PCLFS_STREAM_ID_INFORMATION, **PPCLFS_STREAM_ID_I
NFORMATION; |
| #endif /* NTDDI_VERSION || _WIN32_WINNT */ | | #endif /* NTDDI_VERSION || _WIN32_WINNT */ |
| | |
|
| #if (NTDDI_VERSION >= NTDDI_LONGHORN) || (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) | | #if (NTDDI_VERSION >= NTDDI_VISTA) || (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
| // | | // |
| // CLFS_PHYSICAL_LSN_INFORMATION | | // CLFS_PHYSICAL_LSN_INFORMATION |
| // | | // |
| // An information structure that describes a virtual:physical LSN pairing | | // An information structure that describes a virtual:physical LSN pairing |
| // for the stream identified in the structure. | | // for the stream identified in the structure. |
| // | | // |
|
| #pragma pack (8) | | #pragma pack(push,8) |
| typedef struct _CLFS_PHYSICAL_LSN_INFORMATION | | typedef struct _CLFS_PHYSICAL_LSN_INFORMATION |
| { | | { |
| UCHAR StreamIdentifier; | | UCHAR StreamIdentifier; |
| CLFS_LSN VirtualLsn; | | CLFS_LSN VirtualLsn; |
| CLFS_LSN PhysicalLsn; | | CLFS_LSN PhysicalLsn; |
| | |
| } CLFS_PHYSICAL_LSN_INFORMATION, *PCLFS_PHYSICAL_LSN_INFORMATION; | | } CLFS_PHYSICAL_LSN_INFORMATION, *PCLFS_PHYSICAL_LSN_INFORMATION; |
|
| | #pragma pack(pop) |
| #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) |
| // | | // |
| // CLS_CONTAINER_STATE | | // CLS_CONTAINER_STATE |
| // | | // |
| // At any point in time a container could be inactive or unitialized, active, | | // At any point in time a container could be inactive or unitialized, active, |
| // pending deletion from the list of free containers, pending archival, or | | // pending deletion from the list of free containers, pending archival, or |
| // pending deletion while waiting to be archived. | | // pending deletion while waiting to be archived. |
| // | | // |
| | |
| skipping to change at line 615 | | skipping to change at line 616 |
| // wishes to query or set on a log file. | | // wishes to query or set on a log file. |
| // | | // |
| | |
| typedef enum _CLS_LOG_INFORMATION_CLASS | | typedef enum _CLS_LOG_INFORMATION_CLASS |
| { | | { |
| | |
| ClfsLogBasicInformation = 0x00, // For virtual or physical logs, ind
icates the respective basic information. | | ClfsLogBasicInformation = 0x00, // For virtual or physical logs, ind
icates the respective basic information. |
| ClfsLogBasicInformationPhysical, // Always indicates physical log bas
ic information. | | ClfsLogBasicInformationPhysical, // Always indicates physical log bas
ic information. |
| ClfsLogPhysicalNameInformation, // Always indicates physical name in
formation. | | ClfsLogPhysicalNameInformation, // Always indicates physical name in
formation. |
| ClfsLogStreamIdentifierInformation, // Virtual/physical log agnostic. | | ClfsLogStreamIdentifierInformation, // Virtual/physical log agnostic. |
|
| #if (NTDDI_VERSION >= NTDDI_LONGHORN) || (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) | | #if (NTDDI_VERSION >= NTDDI_VISTA) || (_WIN32_WINNT >= _WIN32_WINNT_LONGHORN) |
| ClfsLogSystemMarkingInformation, // Count of system marking reference
s. | | ClfsLogSystemMarkingInformation, // Count of system marking reference
s. |
| ClfsLogPhysicalLsnInformation // Maps virtual LSNs to physical LSN
s; only valid for physical logs. | | ClfsLogPhysicalLsnInformation // Maps virtual LSNs to physical LSN
s; only valid for physical logs. |
| #endif /* NTDDI_VERSION || _WIN32_WINNT */ | | #endif /* NTDDI_VERSION || _WIN32_WINNT */ |
| | |
| } CLS_LOG_INFORMATION_CLASS, *PCLS_LOG_INFORMATION_CLASS, **PPCLS_LOG_INFORMATIO
N_CLASS; | | } CLS_LOG_INFORMATION_CLASS, *PCLS_LOG_INFORMATION_CLASS, **PPCLS_LOG_INFORMATIO
N_CLASS; |
| | |
| // | | // |
| // Alias all CLS prefixes with CLFS prefixes. | | // Alias all CLS prefixes with CLFS prefixes. |
| // | | // |
| | |
| | |
| skipping to change at line 758 | | skipping to change at line 759 |
| // | | // |
| | |
| // | | // |
| // The log file object wraps an NT file object and the size of the structure. | | // The log file object wraps an NT file object and the size of the structure. |
| // The log file object may be modified in the near future and there should be no | | // The log file object may be modified in the near future and there should be no |
| // dependencies on the size of the structure itself. | | // dependencies on the size of the structure itself. |
| // | | // |
| | |
| typedef FILE_OBJECT LOG_FILE_OBJECT, *PLOG_FILE_OBJECT, **PPLOG_FILE_OBJECT; | | typedef FILE_OBJECT LOG_FILE_OBJECT, *PLOG_FILE_OBJECT, **PPLOG_FILE_OBJECT; |
| | |
|
| | #if defined(_MSC_VER) |
| | #if (_MSC_VER >= 1200) |
| | #pragma warning(push) |
| | #pragma warning(disable:4324) // structure padded due to __declspec(align()) |
| | #endif |
| | #endif |
| | |
| typedef struct _CLS_SCAN_CONTEXT | | typedef struct _CLS_SCAN_CONTEXT |
| { | | { |
| CLFS_NODE_ID cidNode; | | CLFS_NODE_ID cidNode; |
| PLOG_FILE_OBJECT plfoLog; | | PLOG_FILE_OBJECT plfoLog; |
| __declspec(align(8)) ULONG cIndex; | | __declspec(align(8)) ULONG cIndex; |
| __declspec(align(8)) ULONG cContainers; | | __declspec(align(8)) ULONG cContainers; |
| __declspec(align(8)) ULONG cContainersReturned; | | __declspec(align(8)) ULONG cContainersReturned; |
| __declspec(align(8)) CLFS_SCAN_MODE eScanMode; | | __declspec(align(8)) CLFS_SCAN_MODE eScanMode; |
| __declspec(align(8)) PCLS_CONTAINER_INFORMATION pinfoContainer; | | __declspec(align(8)) PCLS_CONTAINER_INFORMATION pinfoContainer; |
| | |
| } CLS_SCAN_CONTEXT, *PCLS_SCAN_CONTEXT, **PPCLS_SCAN_CONTEXT; | | } CLS_SCAN_CONTEXT, *PCLS_SCAN_CONTEXT, **PPCLS_SCAN_CONTEXT; |
| | |
|
| | #if defined(_MSC_VER) |
| | #if (_MSC_VER >= 1200) |
| | #pragma warning(pop) |
| | #endif |
| | #endif |
| | |
| #endif /* NTDDI_VERSION || _WIN32_WINNT */ | | #endif /* NTDDI_VERSION || _WIN32_WINNT */ |
| | |
| // end_wdm | | // end_wdm |
| | |
| #else | | #else |
| | |
| #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) | | #if (NTDDI_VERSION >= NTDDI_WS03SP1) || (_WIN32_WINNT >= _WIN32_WINNT_WS03) |
| typedef struct _CLS_SCAN_CONTEXT | | typedef struct _CLS_SCAN_CONTEXT |
| { | | { |
| CLFS_NODE_ID cidNode; | | CLFS_NODE_ID cidNode; |
| | |
| skipping to change at line 896 | | skipping to change at line 910 |
| // | | // |
| // 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 924 | | skipping to change at line 938 |
| // | | // |
| // 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 952 | | skipping to change at line 966 |
| // | | // |
| // 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 980 | | skipping to change at line 994 |
| // 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 1005 | | skipping to change at line 1019 |
| // | | // |
| // 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 1035 | | skipping to change at line 1049 |
| // 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 1062 | | skipping to change at line 1076 |
| // | | // |
| // 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 1087 | | skipping to change at line 1101 |
| // | | // |
| // 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 1114 | | skipping to change at line 1128 |
| // 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 1139 | | skipping to change at line 1153 |
| // | | // |
| // | | // |
| // 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++ |
| ( | | ( |
|
| 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< |
| ( | | ( |
|
| const CLFS_LSN& refLsn1, | | __in const CLFS_LSN& refLsn1, |
| 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> |
| ( | | ( |
|
| const CLFS_LSN& refLsn1, | | __in const CLFS_LSN& refLsn1, |
| 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== |
| ( | | ( |
|
| const CLFS_LSN& refLsn1, | | __in const CLFS_LSN& refLsn1, |
| 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!= |
| ( | | ( |
|
| const CLFS_LSN& refLsn1, | | __in const CLFS_LSN& refLsn1, |
| 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<= |
| ( | | ( |
|
| const CLFS_LSN& refLsn1, | | __in const CLFS_LSN& refLsn1, |
| 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>= |
| ( | | ( |
|
| const CLFS_LSN& refLsn1, | | __in const CLFS_LSN& refLsn1, |
| 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 */ |
| | |
| | |
| End of changes. 23 change blocks. |
| 31 lines changed or deleted | | 45 lines changed or added |
|