OAL_IOCTL_HANDLER (Compact 2013)
10/16/2014
This structure is a global IOCTL table that defines the procedure to be called for an IOCTL code.
Syntax
typedef struct {
UINT32 code;
UINT32 flags;
BOOL (*pfnHandler) (UINT32, VOID*, UINT32, VOID*, UINT32, UINT32*);
} OAL_IOCTL_HANDLER, *POAL_IOCTL_HANDLER;
Members
- code
Code passed to the structure to be processed by the function pointer specified in the pfnHandler.
- flags
Specifies the flags for the IOCTL table assigned to g_oalIoCtlTable. Currently, only the OAL_IOCTL_FLAG_NOCS flag is supported. If this flag is not set, pfnHandler will finish calling each IOCTL before calling the next IOCTL. If this flag is set, pfnHandler does not wait before calling the next IOCTL. By default, all calls to OEMIoControl are serialized.
- pfnHandler
Procedure to be called for IOCTL code.
Return Value
None.
Remarks
The global variable g_oalIoctlTable is an array of OAL_IOCTL_HANDLER structures.
OAL_IOCTL_HANDLER should be defined in the hardware platform code.
Requirements
Header |
oal_ioctl.h |
Library |
Developer Implemented |