[This is preliminary documentation and subject to change.]
Calls the next display device interface (DDI) hook process.
WINDDIAPI DWORD WINAPI CallNextDDI(
HDDI hddi,
DDITYPE ddiType,
LPDDIPARAMS lpDdiParams
);
Returns a DWORD value that is the result of the DDI call that was made.
An application calls this function in the body of a DDI hook callback function to pass control on to the next DDI hook callback function, if any. If this callback procedure modified any stack structure members prior to calling CallNextDDI, the new values will remain changed for the next callback function. If the callback procedure doesn't call this function, then the DDI function halts, never reaching the display.