HALInit (Windows CE 5.0)
This function is used internally by DirectDraw and should not be called directly by your driver. It is called during initialization and during a mode switch. HALInit is responsible for setting up various global variables. It then calls buildDDHALInfo with the appropriate parameters.
EXTERN_C BOOL WINAPI HALInit(LPDDHALINFO lpddhi,BOOL reset,DWORD modeIndex);
Parameters
- lpddhi
A pointer to a DDHALINFO structure that should be populated with the appropriate settings and function pointers by the driver. - reset
Currently not used. - modeIndex
Currently not used.
Return Values
None.
Remarks
If you use the DDGPE model, the HALInit function has already been written for you and is part of DDGPE. Export this function to DirectDraw by adding it to the list of functions exported by your display driver.
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddraw.h, Ddrawi.h.
See Also
buildDDHALInfo | DDHALINFO | Required Functions
Send Feedback on this topic to the authors