\r
This protocol provides the parent dispatch service for the power button SMI source generator.\r
\r
- Copyright (c) 2009, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
+ Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
http://opensource.org/licenses/bsd-license.php\r
\r
@param[in] This Pointer to the EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL instance.\r
@param[in] DispatchFunction Function to register for handler when power button is pressed or released.\r
- @param[in] RegisterContext Pointer to the dispatch function\92s context. The caller fills in this context\r
+ @param[in] RegisterContext Pointer to the dispatch function's context. The caller fills in this context\r
before calling the Register() function to indicate to the Register() function\r
the power button SMI phase for which the dispatch function should be invoked.\r
@param[out] DispatchHandle Handle generated by the dispatcher to track the function instance. \r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_POWER_BUTTON_REGISTER)(\r
+(EFIAPI *EFI_SMM_POWER_BUTTON_REGISTER2)(\r
IN CONST EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL *This,\r
IN EFI_SMM_HANDLER_ENTRY_POINT2 DispatchFunction,\r
IN EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT *RegisterContext,\r
**/\r
typedef\r
EFI_STATUS\r
-(EFIAPI *EFI_SMM_POWER_BUTTON_UNREGISTER)(\r
+(EFIAPI *EFI_SMM_POWER_BUTTON_UNREGISTER2)(\r
IN CONST EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL *This,\r
IN EFI_HANDLE DispatchHandle\r
);\r
/// This protocol provides the parent dispatch service for the power button SMI source generator.\r
///\r
struct _EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL {\r
- EFI_SMM_POWER_BUTTON_REGISTER Register;\r
- EFI_SMM_POWER_BUTTON_UNREGISTER UnRegister;\r
+ EFI_SMM_POWER_BUTTON_REGISTER2 Register;\r
+ EFI_SMM_POWER_BUTTON_UNREGISTER2 UnRegister;\r
};\r
\r
extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;\r