| compressapi.h (6.3.9600.17415-Windows 8.1) | | compressapi.h (10.0.10586.0-Windows 10 1511 10586.494) |
| | |
| skipping to change at line 29 | | skipping to change at line 29 |
| #include <windef.h> | | #include <windef.h> |
| | |
| #if (NTDDI_VERSION >= NTDDI_WIN8) | | #if (NTDDI_VERSION >= NTDDI_WIN8) |
| | |
| #pragma once | | #pragma once |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C" { | | extern "C" { |
| #endif | | #endif |
| | |
|
| | #pragma region Application Family or OneCore Family |
| | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) |
| | |
| DECLARE_HANDLE(COMPRESSOR_HANDLE); | | DECLARE_HANDLE(COMPRESSOR_HANDLE); |
| typedef COMPRESSOR_HANDLE *PCOMPRESSOR_HANDLE; | | typedef COMPRESSOR_HANDLE *PCOMPRESSOR_HANDLE; |
| | |
| typedef COMPRESSOR_HANDLE DECOMPRESSOR_HANDLE; | | typedef COMPRESSOR_HANDLE DECOMPRESSOR_HANDLE; |
| typedef COMPRESSOR_HANDLE *PDECOMPRESSOR_HANDLE; | | typedef COMPRESSOR_HANDLE *PDECOMPRESSOR_HANDLE; |
| | |
| #define COMPRESS_ALGORITHM_INVALID 0 | | #define COMPRESS_ALGORITHM_INVALID 0 |
| #define COMPRESS_ALGORITHM_NULL 1 | | #define COMPRESS_ALGORITHM_NULL 1 |
| #define COMPRESS_ALGORITHM_MSZIP 2 | | #define COMPRESS_ALGORITHM_MSZIP 2 |
| #define COMPRESS_ALGORITHM_XPRESS 3 | | #define COMPRESS_ALGORITHM_XPRESS 3 |
| | |
| skipping to change at line 82 | | skipping to change at line 85 |
| _In_ DWORD Algorithm, | | _In_ DWORD Algorithm, |
| _In_opt_ PCOMPRESS_ALLOCATION_ROUTINES AllocationRoutines, | | _In_opt_ PCOMPRESS_ALLOCATION_ROUTINES AllocationRoutines, |
| _Out_ PCOMPRESSOR_HANDLE CompressorHandle | | _Out_ PCOMPRESSOR_HANDLE CompressorHandle |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| SetCompressorInformation ( | | SetCompressorInformation ( |
| _In_ COMPRESSOR_HANDLE CompressorHandle, | | _In_ COMPRESSOR_HANDLE CompressorHandle, |
| _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, | | _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, |
|
| _In_reads_bytes_(CompressInformationSize) PVOID CompressInformation, | | _In_reads_bytes_(CompressInformationSize) LPCVOID CompressInformation, |
| _In_ SIZE_T CompressInformationSize | | _In_ SIZE_T CompressInformationSize |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| QueryCompressorInformation ( | | QueryCompressorInformation ( |
| _In_ COMPRESSOR_HANDLE CompressorHandle, | | _In_ COMPRESSOR_HANDLE CompressorHandle, |
| _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, | | _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, |
| _Out_writes_bytes_(CompressInformationSize) PVOID CompressInformation, | | _Out_writes_bytes_(CompressInformationSize) PVOID CompressInformation, |
| _In_ SIZE_T CompressInformationSize | | _In_ SIZE_T CompressInformationSize |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| Compress ( | | Compress ( |
| _In_ COMPRESSOR_HANDLE CompressorHandle, | | _In_ COMPRESSOR_HANDLE CompressorHandle, |
|
| _In_reads_bytes_opt_(UncompressedDataSize) PVOID UncompressedData, | | _In_reads_bytes_opt_(UncompressedDataSize) LPCVOID UncompressedData, |
| _In_ SIZE_T UncompressedDataSize, | | _In_ SIZE_T UncompressedDataSize, |
| _Out_writes_bytes_opt_(CompressedBufferSize) PVOID CompressedBuffer, | | _Out_writes_bytes_opt_(CompressedBufferSize) PVOID CompressedBuffer, |
| _In_ SIZE_T CompressedBufferSize, | | _In_ SIZE_T CompressedBufferSize, |
| _Out_ PSIZE_T CompressedDataSize | | _Out_ PSIZE_T CompressedDataSize |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| ResetCompressor ( | | ResetCompressor ( |
| _In_ COMPRESSOR_HANDLE CompressorHandle | | _In_ COMPRESSOR_HANDLE CompressorHandle |
| | |
| skipping to change at line 133 | | skipping to change at line 136 |
| _In_ DWORD Algorithm, | | _In_ DWORD Algorithm, |
| _In_opt_ PCOMPRESS_ALLOCATION_ROUTINES AllocationRoutines, | | _In_opt_ PCOMPRESS_ALLOCATION_ROUTINES AllocationRoutines, |
| _Out_ PDECOMPRESSOR_HANDLE DecompressorHandle | | _Out_ PDECOMPRESSOR_HANDLE DecompressorHandle |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| SetDecompressorInformation ( | | SetDecompressorInformation ( |
| _In_ DECOMPRESSOR_HANDLE DecompressorHandle, | | _In_ DECOMPRESSOR_HANDLE DecompressorHandle, |
| _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, | | _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, |
|
| _In_reads_bytes_(CompressInformationSize) PVOID CompressInformation, | | _In_reads_bytes_(CompressInformationSize) LPCVOID CompressInformation, |
| _In_ SIZE_T CompressInformationSize | | _In_ SIZE_T CompressInformationSize |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| QueryDecompressorInformation ( | | QueryDecompressorInformation ( |
| _In_ DECOMPRESSOR_HANDLE DecompressorHandle, | | _In_ DECOMPRESSOR_HANDLE DecompressorHandle, |
| _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, | | _In_ COMPRESS_INFORMATION_CLASS CompressInformationClass, |
| _Out_writes_bytes_(CompressInformationSize) PVOID CompressInformation, | | _Out_writes_bytes_(CompressInformationSize) PVOID CompressInformation, |
| _In_ SIZE_T CompressInformationSize | | _In_ SIZE_T CompressInformationSize |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| Decompress ( | | Decompress ( |
| _In_ DECOMPRESSOR_HANDLE DecompressorHandle, | | _In_ DECOMPRESSOR_HANDLE DecompressorHandle, |
|
| _In_reads_bytes_opt_(CompressedDataSize) PVOID CompressedData, | | _In_reads_bytes_opt_(CompressedDataSize) LPCVOID CompressedData, |
| _In_ SIZE_T CompressedDataSize, | | _In_ SIZE_T CompressedDataSize, |
| _Out_writes_bytes_opt_(UncompressedBufferSize) PVOID UncompressedBuffer, | | _Out_writes_bytes_opt_(UncompressedBufferSize) PVOID UncompressedBuffer, |
| _In_ SIZE_T UncompressedBufferSize, | | _In_ SIZE_T UncompressedBufferSize, |
| _Out_opt_ PSIZE_T UncompressedDataSize | | _Out_opt_ PSIZE_T UncompressedDataSize |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| ResetDecompressor ( | | ResetDecompressor ( |
| _In_ DECOMPRESSOR_HANDLE DecompressorHandle | | _In_ DECOMPRESSOR_HANDLE DecompressorHandle |
| ); | | ); |
| | |
| BOOL | | BOOL |
| WINAPI | | WINAPI |
| CloseDecompressor ( | | CloseDecompressor ( |
| _In_ DECOMPRESSOR_HANDLE DecompressorHandle | | _In_ DECOMPRESSOR_HANDLE DecompressorHandle |
| ); | | ); |
| | |
|
| | #endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM |
| | ) |
| | #pragma endregion |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif | | #endif |
| | |
| #endif | | #endif |
| | |
| End of changes. 6 change blocks. |
| 4 lines changed or deleted | | 11 lines changed or added |
|
| fdi.h (6.3.9600.17415-Windows 8.1) | | fdi.h (10.0.10586.0-Windows 10 1511 10586.494) |
| | |
| skipping to change at line 365 | | skipping to change at line 365 |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| extern "C" { /* Assume C declarations for C++ */ | | extern "C" { /* Assume C declarations for C++ */ |
| #endif /* __cplusplus */ | | #endif /* __cplusplus */ |
| | |
| //** Specify structure packing explicitly for clients of FDI | | //** Specify structure packing explicitly for clients of FDI |
| | |
| #ifndef _WIN64 | | #ifndef _WIN64 |
| #include <pshpack4.h> | | #include <pshpack4.h> |
| #endif | | #endif |
| | |
|
| #pragma region Application Family | | #pragma region Application Family or OneCore Family |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) | | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) |
| | |
| /*** FDIERROR - Error codes returned in erf.erfOper field | | /*** FDIERROR - Error codes returned in erf.erfOper field |
| * | | * |
| * In general, FDI will only fail if one of the passed in memory or | | * In general, FDI will only fail if one of the passed in memory or |
| * file I/O functions fails. Other errors are pretty unlikely, and are | | * file I/O functions fails. Other errors are pretty unlikely, and are |
| * caused by corrupted cabinet files, passing in a file which is not a | | * caused by corrupted cabinet files, passing in a file which is not a |
| * cabinet file, or cabinet files out of order. | | * cabinet file, or cabinet files out of order. |
| * | | * |
| * Description: Summary of error. | | * Description: Summary of error. |
| * Cause: List of possible causes of this error. | | * Cause: List of possible causes of this error. |
| | |
| skipping to change at line 1185 | | skipping to change at line 1185 |
| * hfdi - handle to FDI context (created by FDICreate()) | | * hfdi - handle to FDI context (created by FDICreate()) |
| * | | * |
| * Exit-Success: | | * Exit-Success: |
| * Returns TRUE; | | * Returns TRUE; |
| * | | * |
| * Exit-Failure: | | * Exit-Failure: |
| * Returns FALSE; | | * Returns FALSE; |
| */ | | */ |
| BOOL FAR DIAMONDAPI FDIDestroy(_In_ HFDI hfdi); | | BOOL FAR DIAMONDAPI FDIDestroy(_In_ HFDI hfdi); |
| | |
|
| #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) */ | | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM
) */ |
| #pragma endregion | | #pragma endregion |
| | |
|
| #pragma region Desktop Family | | #pragma region Desktop Family or OneCore Family |
| #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) | | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) |
| | |
| /*** FDITruncateCabinet - truncate a cabinet, starting at folder # | | /*** FDITruncateCabinet - truncate a cabinet, starting at folder # |
| * | | * |
| * Entry: | | * Entry: |
| * hfdi - handle to FDI context (created by FDICreate()) | | * hfdi - handle to FDI context (created by FDICreate()) |
| * pszCabinet - full pathname of cabinet file | | * pszCabinet - full pathname of cabinet file |
| * iFolderToDelete - first folder # to delete | | * iFolderToDelete - first folder # to delete |
| * | | * |
| * Exit-Success: | | * Exit-Success: |
| * Returns TRUE; | | * Returns TRUE; |
| | |
| skipping to change at line 1215 | | skipping to change at line 1215 |
| * | | * |
| * NOTE: This function relies on additional feature in the | | * NOTE: This function relies on additional feature in the |
| * supplied PFNWRITE function, that a write of 0 bytes | | * supplied PFNWRITE function, that a write of 0 bytes |
| * will truncate the file at the current position. | | * will truncate the file at the current position. |
| */ | | */ |
| | |
| BOOL FAR DIAMONDAPI FDITruncateCabinet(_In_ HFDI hfdi, | | BOOL FAR DIAMONDAPI FDITruncateCabinet(_In_ HFDI hfdi, |
| _In_ LPSTR pszCabinetName, | | _In_ LPSTR pszCabinetName, |
| USHORT iFolderToDelete); | | USHORT iFolderToDelete); |
| | |
|
| #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */ | | #endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SY
STEM) */ |
| #pragma endregion | | #pragma endregion |
| | |
| //** Revert to default structure packing | | //** Revert to default structure packing |
| #ifndef _WIN64 | | #ifndef _WIN64 |
| #include <poppack.h> | | #include <poppack.h> |
| #endif | | #endif |
| | |
| #ifdef __cplusplus | | #ifdef __cplusplus |
| } | | } |
| #endif /* __cplusplus */ | | #endif /* __cplusplus */ |
| | |
| End of changes. 4 change blocks. |
| 6 lines changed or deleted | | 6 lines changed or added |
|