BootDriver_t Class (Compact 2013)
3/26/2014
In C++, you implement a boot driver by deriving from the abstract base class BootDriver_t. The only two members of BootDriver_t are the deinitialization functions and IOCTL functions, which must be overridden.
The syntax is:
class __declspec(novtable) BootDriver_t
{
public:
virtual bool_t __cdecl DeInit() = 0;
virtual bool_t __cdecl IoCtl( enum_t code, void *pBuffer, size_t size ) = 0;
}
BootDriver_t Class Members
Member |
Type |
Description |
---|---|---|
DeInit |
Function |
Pure virtual deinitialization method. |
IoCtl |
Function |
Pure virtual IOCTL method. The code parameter is the IOCTL code. The pBuffer parameter is a pointer to information about the IOCTL. The size parameter is the size of the information pointed to by pBuffer. |