"James Hawkins" truiken@gmail.com wrote:
Changelog
- Implement ImpersonateNamedPipeClient.
@@ -871,9 +871,13 @@ BOOL WINAPI InitializeAcl(PACL acl, DWOR
BOOL WINAPI ImpersonateNamedPipeClient( HANDLE hNamedPipe ) {
- FIXME("%p - stub\n", hNamedPipe);
- PIO_STATUS_BLOCK pio = NULL;
- return FALSE;
- TRACE("(%p)\n", hNamedPipe);
- return set_ntstatus( NtFsControlFile(hNamedPipe, NULL, NULL, NULL, pio,
CTL_CODE(FILE_DEVICE_NAMED_PIPE, 7, METHOD_BUFFERED, FILE_ANY_ACCESS),
NULL, 0, NULL, 0) );
}
What's the purpose of introducing PIO_STATUS_BLOCK pio if you don't actually use it?