ntdll: Add stub for RtlCompressBuffer.

oldstable
Ricardo Filipe 2009-01-24 14:40:01 +00:00 committed by Alexandre Julliard
parent 4de59850d5
commit 63a5cec8cd
3 changed files with 17 additions and 1 deletions

View File

@ -450,7 +450,7 @@
@ stdcall RtlCompareMemoryUlong(ptr long long)
@ stdcall RtlCompareString(ptr ptr long)
@ stdcall RtlCompareUnicodeString (ptr ptr long)
@ stub RtlCompressBuffer
@ stdcall RtlCompressBuffer(long ptr long ptr long long ptr ptr)
@ stdcall RtlComputeCrc32(long ptr long)
# @ stub RtlComputeImportTableHash
# @ stub RtlComputePrivatizedDllName_U

View File

@ -1080,3 +1080,18 @@ NTSTATUS WINAPI RtlGetCompressionWorkSpaceSize(USHORT CompressionFormatAndEngine
return STATUS_NOT_IMPLEMENTED;
}
/******************************************************************************
* RtlCompressBuffer [NTDLL.@]
*/
NTSTATUS WINAPI RtlCompressBuffer(USHORT CompressionFormatAndEngine, PUCHAR UncompressedBuffer,
ULONG UncompressedBufferSize, PUCHAR CompressedBuffer,
ULONG CompressedBufferSize, ULONG UncompressedChunkSize,
PULONG FinalCompressedSize, PVOID WorkSpace)
{
FIXME("0x%04x, %p, %u, %p, %u, %u, %p, %p :stub\n", CompressionFormatAndEngine, UncompressedBuffer,
UncompressedBufferSize, CompressedBuffer, CompressedBufferSize, UncompressedChunkSize,
FinalCompressedSize, WorkSpace);
return STATUS_NOT_IMPLEMENTED;
}

View File

@ -2251,6 +2251,7 @@ NTSYSAPI PDEBUG_BUFFER WINAPI RtlCreateQueryDebugBuffer(ULONG,BOOLEAN);
NTSYSAPI ULONG WINAPI RtlCompactHeap(HANDLE,ULONG);
NTSYSAPI LONG WINAPI RtlCompareString(const STRING*,const STRING*,BOOLEAN);
NTSYSAPI LONG WINAPI RtlCompareUnicodeString(const UNICODE_STRING*,const UNICODE_STRING*,BOOLEAN);
NTSYSAPI NTSTATUS WINAPI RtlCompressBuffer(USHORT,PUCHAR,ULONG,PUCHAR,ULONG,ULONG,PULONG,PVOID);
NTSYSAPI DWORD WINAPI RtlComputeCrc32(DWORD,const BYTE*,INT);
NTSYSAPI NTSTATUS WINAPI RtlConvertSidToUnicodeString(PUNICODE_STRING,PSID,BOOLEAN);
NTSYSAPI LONGLONG WINAPI RtlConvertLongToLargeInteger(LONG);