LVM_QUERYINTERFACE

This message queries a List-View control for a specified interface.

hWnd window handle of List-View control
uMsg 0x10BD
wParam provides the address of a GUID that specifies the interface
lParam provides the address of a variable that is to receive a pointer to the interface
returns TRUE for success, else FALSE

Behaviour

The essence of this message’s implementation is to pass wParam and lParam to the control’s QueryInterface method. The following are the interfaces that are supported by List-View controls in version 6.10:

Note that these interfaces, several of which appear to be undocumented, provide more efficient access to most of the same functionality that List-View controls otherwise expose through their handling of window messages, and greatly extend that functionality, there being many interface methods that do not correspond to any window messages, whether documented or not.

Availability

The LVM_QUERYINTERFACE message is supported by COMCTL32.DLL versions 6.10 and higher.

Though new for Windows Vista, this message is not documented by Microsoft in the January 2007 edition of the Software Development Kit (SDK) for Windows Vista.

The name LVM_QUERYINTERFACE is an invention for these notes, Microsoft’s name being not known.