HALInit (Windows Embedded CE 6.0)
1/6/2010
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.
Syntax
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 Value
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
Header | ddraw.h, ddrawi.h |
Windows Embedded CE | Windows Embedded CE 6.0 and later |