CallNextDDI

[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
);
 

Parameters

hddi
Handle to the current DDI hook as received in the hddi parameter of the DDIHookProc callback function.
ddiType
DDI hook type identifier as received in the ddiType parameter of the DDIHookProc callback function.
lpDdiParams
Address of the function stack structure for this DDI function as received in the lpDdiParams parameter of the DDIHookProc callback function.

Return Values

Returns a DWORD value that is the result of the DDI call that was made.

Remarks

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.