DIConfigureDevicesCallback

DirectX8

DIConfigureDevicesCallback
 
Microsoft DirectX 8.1 (C++)

DIConfigureDevicesCallback

Application-defined callback function that is called each time the property sheet image is refreshed. This function needs to be supplied only when the application is displaying the property sheet within its own window.

BOOL CALLBACK DIConfigureDevicesCallback(
  IUnknown FAR* lpDDSTarget,  
  LPVOID pvRef   
);

Parameters

lpDDSTarget
Pointer to the IUnknown interface of the surface in the lpUnkDDSTarget member of the DICONFIGUREDEVICESPARAMS structure that was passed to IDirectInput8::ConfigureDevices.
pvRef
Application-defined value passed to IDirectInput8::ConfigureDevices as the pvRef parameter.

Return Values

Can return TRUE or FALSE. Microsoft® DirectInput® does not use the return value.

Requirements

  Windows NT/2000/XP: Requires Windows 2000.
  Windows 98/Me: Requires Windows 98 or later. Available as a redistributable for Windows 98.
  Header: Declared in dinput.h.
  Import Library: Use dinput8.lib.