OAL_IOCTL_HANDLER (Windows CE 5.0)
This structure is a global IOCTL table that defines the procedure to be called for an IOCTL code.
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_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 Values
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
OS Versions: Windows CE Version 5.0 and later
Header: Oal_ioctl.h
Link Library: Developer-defined
See Also
Send Feedback on this topic to the authors