Share via


FindString method

Initiates a search.

 

Syntax

HRESULT retVal = object.FindString(pwszTarget, pdwFlags, punkOnAsyncSearch, ppidlOut);

Parameters

  • pwszTarget [in]
    Type: LPCWSTR

  • pdwFlags [in, out]
    Type: DWORD

  • punkOnAsyncSearch [in]
    Type: IUnknown

  • ppidlOut [out]
    Type: LPITEMIDLIST

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.