ntdll: Add a stub implementation of FSCTL_GET_RETRIEVAL_POINTERS.

This commit is contained in:
Hans Leidekker 2010-11-20 15:48:02 +01:00 committed by Alexandre Julliard
parent 40894dabb0
commit 63c19ab495
2 changed files with 31 additions and 0 deletions

View File

@ -1495,6 +1495,28 @@ NTSTATUS WINAPI NtFsControlFile(HANDLE handle, HANDLE event, PIO_APC_ROUTINE apc
status = STATUS_SUCCESS;
break;
case FSCTL_GET_RETRIEVAL_POINTERS:
{
RETRIEVAL_POINTERS_BUFFER *buffer = (RETRIEVAL_POINTERS_BUFFER *)out_buffer;
FIXME("stub: FSCTL_GET_RETRIEVAL_POINTERS\n");
if (out_size >= sizeof(RETRIEVAL_POINTERS_BUFFER))
{
buffer->ExtentCount = 1;
buffer->StartingVcn.QuadPart = 1;
buffer->Extents[0].NextVcn.QuadPart = 0;
buffer->Extents[0].Lcn.QuadPart = 0;
io->Information = sizeof(RETRIEVAL_POINTERS_BUFFER);
status = STATUS_SUCCESS;
}
else
{
io->Information = 0;
status = STATUS_BUFFER_TOO_SMALL;
}
break;
}
case FSCTL_PIPE_LISTEN:
case FSCTL_PIPE_WAIT:
default:

View File

@ -376,6 +376,15 @@ typedef struct _VOLUME_DISK_EXTENTS {
DISK_EXTENT Extents[1];
} VOLUME_DISK_EXTENTS;
typedef struct RETRIEVAL_POINTERS_BUFFER {
DWORD ExtentCount;
LARGE_INTEGER StartingVcn;
struct {
LARGE_INTEGER NextVcn;
LARGE_INTEGER Lcn;
} Extents[1];
} RETRIEVAL_POINTERS_BUFFER, *PRETRIEVAL_POINTERS_BUFFER;
/* End: _WIN32_WINNT >= 0x0400 */
/*