PCD_PPI.CancelCallback()
Summary
Cancels a previously set callback function for a particular PCD token number.
Prototype
typedef
EFI_STATUS
(EFIAPI *PCD_PPI_CANCEL_CALL_BACK) (
IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN CallBackToken,
IN PCD_PPI_CALLBACK CallBackFunction
);
Parameters
Guid
The 128-bit unique value that designates which namespace to monitor. If NULL
,
use the standard platform namespace.
CallBackToken
The PCD token number to cancel monitoring.
CallBackFunction
The function prototype that was originally passed to the CallBackOnSet
function.
Description
Cancels a callback function that was set through a previous call to the
CallBackOnSet
function.
Status Codes Returned
Status Code | Description |
---|---|
EFI_SUCCESS |
The PCD service has cancelled the call event associated with the CallBackToken . |
EFI_INVALID_PARAMETER |
The PCD service did not match the CallBackFunction to one that is currently being monitored. |
EFI_NOT_FOUND |
The PCD service could not find data the requested token number. |