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; status = STATUS_SUCCESS;
break; 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_LISTEN:
case FSCTL_PIPE_WAIT: case FSCTL_PIPE_WAIT:
default: default:

View file

@ -376,6 +376,15 @@ typedef struct _VOLUME_DISK_EXTENTS {
DISK_EXTENT Extents[1]; DISK_EXTENT Extents[1];
} VOLUME_DISK_EXTENTS; } 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 */ /* End: _WIN32_WINNT >= 0x0400 */
/* /*