mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
add function to the header file
svn path=/trunk/; revision=10869
This commit is contained in:
parent
1388215acb
commit
e740fd1758
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: sparse.h,v 1.1 2004/09/15 18:57:01 weiden Exp $
|
||||
/* $Id: sparse.h,v 1.2 2004/09/15 19:01:23 weiden Exp $
|
||||
*/
|
||||
|
||||
#ifndef ROSRTL_SPARSE_H__
|
||||
|
@ -19,6 +19,14 @@ ZeroFileData(HANDLE hFile,
|
|||
PLARGE_INTEGER pliFileOffset,
|
||||
PLARGE_INTEGER pliBeyondFinalZero);
|
||||
|
||||
DWORD
|
||||
STDCALL
|
||||
QueryAllocatedFileRanges(HANDLE hFile,
|
||||
PLARGE_INTEGER pliFileOffset,
|
||||
PLARGE_INTEGER pliLength,
|
||||
PFILE_ALLOCATED_RANGE_BUFFER lpAllocatedRanges,
|
||||
DWORD dwBufferSize);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -105,7 +105,7 @@ QueryAllocatedFileRanges(HANDLE hFile,
|
|||
lpAllocatedRanges,
|
||||
dwBufferSize,
|
||||
&BytesRet,
|
||||
NULL))
|
||||
NULL) != 0)
|
||||
{
|
||||
return BytesRet;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue