Changed from Nt to Zw functions in VGAResetDevice.

svn path=/trunk/; revision=2629
This commit is contained in:
Hartmut Birr 2002-02-16 22:00:52 +00:00
parent c9d3381474
commit d1cfd4ffdb

View file

@ -116,12 +116,12 @@ VOID VGAResetDevice(OUT PSTATUS_BLOCK StatusBlock)
vps = VideoPortInt10(NULL, &vxba); vps = VideoPortInt10(NULL, &vxba);
RtlInitUnicodeString( &Name, L"\\TextConsoleRefreshEvent" ); RtlInitUnicodeString( &Name, L"\\TextConsoleRefreshEvent" );
InitializeObjectAttributes( &Attr, &Name, 0, 0, 0 ); InitializeObjectAttributes( &Attr, &Name, 0, 0, 0 );
Status = NtOpenEvent( &Event, STANDARD_RIGHTS_ALL, &Attr ); Status = ZwOpenEvent( &Event, STANDARD_RIGHTS_ALL, &Attr );
if( !NT_SUCCESS( Status ) ) if( !NT_SUCCESS( Status ) )
DbgPrint( "VGA: Failed to open refresh event\n" ); DbgPrint( "VGA: Failed to open refresh event\n" );
else { else {
NtSetEvent( Event, &ThreadRelease ); ZwSetEvent( Event, &ThreadRelease );
NtClose( Event ); ZwClose( Event );
} }
} }