IShellFind::SetCallback

4/8/2010

The SetCallback method is called to attach the handler to a different callback interface.

Syntax

HRESULT SetCallback (
  IShellFindCallback * pisfcNew
);

Parameters

  • pisfcNew
    [in] A callback interface pointer

Return Value

This method should return S_OK if it was successful or appropriate errors if not.

Remarks

When this method is called, the old callback pointer is released with the Windows Embedded CE IUnknown::Release method and the new one is added with the the Windows Embedded CE IUnknown::AddRef method and stored.

Requirements

Header findext.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later

See Also

Reference

IShellFind

Other Resources

IUnknown::AddRef
IUnknown::Release