DIEnumJoyTypeProc routine
The DIEnumJoyTypeProc callback receives DirectInput joystick types as a result of a call to the IDirectInputJoyConfig8::EnumTypes method.
Syntax
BOOL DIEnumJoyTypeProc(
LPCWSTR pwszTypeName,
LPVOID pvRef
);
Parameters
pwszTypeName
Points to the name of the joystick type. A buffer of MAX_JOYSTRING characters is sufficient to hold the type name. The type name should never be shown to the end user; instead, the "display name" should be shown. Use IDirectInputJoyConfig8::GetTypeInfo to obtain the display name of a joystick type. Type names that begin with a pound sign ("#") represent predefined types that cannot be modified or deleted.pvRef
Points to the application-defined value given in the IDirectInputJoyConfig8::EnumTypes method.
Return value
Returns a BOOL value, DIENUM_CONTINUE, to continue the enumeration, or DIENUM_STOP to stop the enumeration.