#define PROTOCOL_INTERFACE_SIGNATURE EFI_SIGNATURE_32('p','i','f','c')\r
typedef struct {\r
UINTN Signature;\r
- EFI_HANDLE Handle; // Back pointer\r
+ IHANDLE *Handle; // Back pointer\r
LIST_ENTRY Link; // Link on IHANDLE.Protocols\r
LIST_ENTRY ByProtocol; // Link on PROTOCOL_ENTRY.Protocols\r
PROTOCOL_ENTRY *Protocol; // The protocol ID\r
Link = ProtNotify->Position->ForwardLink;\r
if (Link != &ProtNotify->Protocol->Protocols) {\r
Prot = CR (Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE);\r
- Handle = (IHANDLE *) Prot->Handle;\r
+ Handle = Prot->Handle;\r
*Interface = Prot->Interface;\r
}\r
}\r
// Get the handle\r
//\r
Prot = CR(Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE);\r
- Handle = (IHANDLE *) Prot->Handle;\r
+ Handle = Prot->Handle;\r
*Interface = Prot->Interface;\r
\r
//\r