DIEnumDeviceObjectsCallback
Application-defined callback function that receives DirectInputDevice objects as a result of a call to the IDirectInputDevice8::EnumObjects method.
Syntax
BOOL DIEnumDeviceObjectsCallback(
LPCDIDEVICEOBJECTINSTANCE lpddoi,
LPVOID pvRef
)
Parameters
- lpddoi
DIDEVICEOBJECTINSTANCE structure that describes the object being enumerated. - pvRef
The application-defined value passed to IDirectInputDevice8::EnumObjects as the pvRef parameter.
Return Value
Returns DIENUM_CONTINUE to continue the enumeration or DIENUM_STOP to stop the enumeration.
Requirements
Header: Declared in dinput.h.