DocList_GetFirstSelectedWaveFile

4/8/2010

This function gets the first selected WAV file from the document list.

Syntax

BOOL DocList_GetFirstSelectedWaveFile (
  HWND hwnd,
  int * pIndex,
  LPTSTR szPath,
  const size_t cchPath
);

Parameters

  • hwnd
    Handle to the document list view window.
  • pIndex
    [out] Reference to the index of the selected WAV file in the document list view.
  • szPath
    [out] buffer filled with the path name of the WAV file.
  • cchPath
    [in] size of the szPath buffer.

Return Value

This function returns TRUE if a WAV file is found and the path and index information are successfully provided.

Requirements

Header doclist.h
Library doclist.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later

See Also

Reference

Shell Functions
DocList_GetNextSelectedWaveFile