 |
 |
 |
|
|  |  |
 |
RtlCompressBuffer ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Compresses a buffer and can be used by a file system driver to facilitate the implementation of file compression. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
NTSTATUS RtlCompressBuffer(
__in USHORT CompressionFormatAndEngine,
__in PUCHAR UncompressedBuffer,
__in ULONG UncompressedBufferSize,
__out PUCHAR CompressedBuffer,
__in ULONG CompressedBufferSize,
__in ULONG UncompressedChunkSize,
__out PULONG FinalCompressedSize,
__in PVOID WorkSpace
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER RtlCompressBuffer IN ntdll;
SHORT CompressionFormatAndEngine,;
INTEGER UncompressedBuffer,;
LONG UncompressedBufferSize,;
INTEGER CompressedBuffer,;
LONG CompressedBufferSize,;
LONG UncompressedChunkSize,;
LONG @FinalCompressedSize,;
INTEGER WorkSpace
|
 |  |  | | Parameters: |  | CompressionFormatAndEngine [in]
A bitmask specifying the compression format and engine type.
UncompressedBuffer [in]
A pointer to a caller-allocated buffer (allocated from paged or non-paged pool) containing the data to be compressed. This parameter is required and cannot be NULL.
UncompressedBufferSize [in]
Size, in bytes, of the UncompressedBuffer buffer.
CompressedBuffer [out]
A pointer to a caller-allocated buffer (allocated from paged or non-paged pool) receiving the compressed data. This parameter is required and cannot be NULL.
CompressedBufferSize [in]
Size, in bytes, of the CompressedBuffer buffer.
UncompressedChunkSize [in]
The chunk size to use when compressing the UncompressedBuffer buffer. This parameter must be one of the following values: 512, 1024, 2048, or 4096 (system default).
FinalCompressedSize [out]
A pointer to a caller-allocated variable which receives the size, in bytes, of the compressed data stored in CompressedBuffer. This parameter is required and cannot be NULL.
WorkSpace [in]
A pointer to a caller-allocated work space buffer used by the RtlCompressBuffer function during compression. |
 |  | | Return value: |  | | Returns STATUS_SUCCESS (0) or an appropriate error code. |
 |  | | My comment: |  | | See also: RtlDecompressBuffer, RtlGetCompressionWorkSpaceSize |
 |  | | Word Index links for the RtlCompressBuffer : |  | |
|
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2010-08-12 18:22:26 | | Modified: | 2010-08-12 18:25:58 | Visited in last 7 days: 14 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|