diff --git a/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c b/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c index 6a75874c97..8e23b41af6 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c +++ b/Nt32Pkg/WinNtBlockIoDxe/ComponentName.c @@ -338,7 +338,7 @@ WinNtBlockIoComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiBlockIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c b/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c index 23cf7ef720..d0a2158e6d 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c +++ b/Nt32Pkg/WinNtBlockIoDxe/DriverConfiguration.c @@ -154,7 +154,7 @@ WinNtBlockIoDriverConfigurationSetOptions ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -239,7 +239,7 @@ WinNtBlockIoDriverConfigurationOptionsValid ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -315,7 +315,7 @@ WinNtBlockIoDriverConfigurationForceDefaults ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER diff --git a/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c b/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c index b2bb309a05..f0b30e6eb0 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c +++ b/Nt32Pkg/WinNtBlockIoDxe/DriverDiagnostics.c @@ -197,7 +197,7 @@ WinNtBlockIoDriverDiagnosticsRunDiagnostics ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, gWinNtBlockIoDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER diff --git a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c index 9dbecae24b..a738fcd3dc 100644 --- a/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c +++ b/Nt32Pkg/WinNtBlockIoDxe/WinNtBlockIo.c @@ -158,7 +158,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -233,7 +233,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -360,7 +360,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiBlockIoProtocolGuid, - &BlockIo, + (VOID **) &BlockIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/ComponentName.c b/Nt32Pkg/WinNtGopDxe/ComponentName.c index 9799d66b1b..6387fc9be4 100644 --- a/Nt32Pkg/WinNtGopDxe/ComponentName.c +++ b/Nt32Pkg/WinNtGopDxe/ComponentName.c @@ -362,7 +362,7 @@ WinNtGopComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiGraphicsOutputProtocolGuid, - &GraphicsOutput, + (VOID **) &GraphicsOutput, gWinNtGopDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c index 4f37707f66..b100bde51f 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c @@ -132,7 +132,7 @@ WinNtGopDriverBindingSupported ( Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -185,7 +185,7 @@ WinNtGopDriverBindingStart ( Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -309,7 +309,7 @@ WinNtGopDriverBindingStop ( Status = gBS->OpenProtocol ( Handle, &gEfiGraphicsOutputProtocolGuid, - &GraphicsOutput, + (VOID **) &GraphicsOutput, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c index acf838b630..ff768cb998 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c @@ -813,7 +813,7 @@ WinNtGopSimpleTextInExUnregisterKeyNotify ( Status = gBS->OpenProtocol ( NotificationHandle, &gSimpleTextInExNotifyGuid, - NULL, + (VOID **) NULL, NULL, NULL, EFI_OPEN_PROTOCOL_TEST_PROTOCOL diff --git a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c index 507268c8ef..dcd7e3c160 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c +++ b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c @@ -345,7 +345,7 @@ WinNtSerialIoComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ChildHandle, &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, gWinNtSerialIoDriverBinding.DriverBindingHandle, ChildHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c index 1419c5a653..e12f14dc29 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c +++ b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c @@ -132,7 +132,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiDevicePathProtocolGuid, - &ParentDevicePath, + (VOID **) &ParentDevicePath, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -155,7 +155,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -271,7 +271,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiDevicePathProtocolGuid, - &ParentDevicePath, + (VOID **) &ParentDevicePath, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -286,7 +286,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -327,7 +327,7 @@ Returns: Status = gBS->OpenProtocol ( OpenInfoBuffer[Index].ControllerHandle, &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL @@ -494,7 +494,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Private->Handle, EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER @@ -597,7 +597,7 @@ Returns: Status = gBS->OpenProtocol ( ChildHandleBuffer[Index], &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c b/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c index 60bea91ed7..41e58fc950 100644 --- a/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c +++ b/Nt32Pkg/WinNtSimpleFileSystemDxe/ComponentName.c @@ -366,7 +366,7 @@ WinNtSimpleFileSystemComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiSimpleFileSystemProtocolGuid, - &SimpleFileSystem, + (VOID **) &SimpleFileSystem, gWinNtSimpleFileSystemDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c index 9484c3faa3..c267cf2a1a 100644 --- a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c +++ b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c @@ -255,7 +255,7 @@ Returns: Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -328,7 +328,7 @@ Returns: Status = gBS->OpenProtocol ( ControllerHandle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -459,7 +459,7 @@ Returns: Status = gBS->OpenProtocol ( ControllerHandle, &gEfiSimpleFileSystemProtocolGuid, - &SimpleFileSystem, + (VOID **) &SimpleFileSystem, This->DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL