diff options
Diffstat (limited to 'UefiLessonsPkg/Include/Protocol')
-rw-r--r-- | UefiLessonsPkg/Include/Protocol/SimpleClass.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/UefiLessonsPkg/Include/Protocol/SimpleClass.h b/UefiLessonsPkg/Include/Protocol/SimpleClass.h new file mode 100644 index 0000000..4ccf629 --- /dev/null +++ b/UefiLessonsPkg/Include/Protocol/SimpleClass.h @@ -0,0 +1,28 @@ +#ifndef __SIMPLE_CLASS_PROTOCOL_H__ +#define __SIMPLE_CLASS_PROTOCOL_H__ + + +typedef struct _SIMPLE_CLASS_PROTOCOL SIMPLE_CLASS_PROTOCOL; + +typedef +EFI_STATUS +(EFIAPI* SIMPLE_CLASS_GET_NUMBER)( + UINTN* Number + ); + + +typedef +EFI_STATUS +(EFIAPI* SIMPLE_CLASS_SET_NUMBER)( + UINTN Number + ); + + +struct _SIMPLE_CLASS_PROTOCOL { + SIMPLE_CLASS_GET_NUMBER GetNumber; + SIMPLE_CLASS_SET_NUMBER SetNumber; +}; + + +#endif + |