[This is preliminary documentation and subject to change.]
The DDIHOOKPROC type defines a variable that points to a valid DDI hook callback procedure. The winddi.h header file uses the following definition.
typedef DWORD (CALLBACK* DDIHOOKPROC)(HDDI, LONG, DDITYPE, LPDDIPARAMS);
For more information, see DDIHookProc.