?/TD>
Microsoft DirectX 9.0

IDirectInputDevice8::GetImageInfo Method


Retrieves information about a device image for use in a configuration property sheet.

Syntax

HRESULT GetImageInfo(      

    LPDIDEVICEIMAGEINFOHEADER lpdiDevImageInfoHeader );

Parameters

lpdiDevImageInfoHeader
Address of a DIDEVICEIMAGEINFOHEADER structure that receives information about the device image.

Return Value

If the method succeeds, the return value is DI_OK.

If the method fails, the return value can be one of the following error values.

DIERR_INVALIDPARAMAn invalid parameter was passed to the returning function, or the object was not in a state that permitted the function to be called. This value is equal to the E_INVALIDARG standard Component Object Model (COM) return value.
DIERR_MAPFILEFAILAn error has occurred reading either the vendor-supplied action-mapping file for the device or reading or writing the user configuration file for the device.
DIERR_MOREDATANot all the requested information fitted into the buffer.
DIERR_NOTINITIALIZEDThe object has not been initialized.
DIERR_OBJECTNOTFOUNDThe requested object does not exist.




© 2002 Microsoft Corporation. All rights reserved.