The DIEnumDeviceObjectsProc function is an application-defined callback function that receives DirectInputDevice objects as a result of a call to the IDirectInputDevice::EnumObjects method.
BOOL CALLBACK DIEnumDeviceObjectsProc(
LPCDIDEVICEOBJECTINSTANCE lpddoi,
LPVOID pvRef
);
Parameters
lpddoi
A DIDEVICEOBJECTINSTANCE structure that describes the object being enumerated.
pvRef
The application-defined value given in the IDirectInputDevice::EnumObjects method.
Return Values
Returns DIENUM_CONTINUE to continue the enumeration or DIENUM_STOP to stop the enumeration.
QuickInfo
Windows NT: Use version 5.0 or later.
Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dinput.h.
Import Library: User-defined.