Share via


IXFeedFolder::GetSubfolder Method

Returns a subfolder by its name.

Syntax

HRESULT GetSubfolder(
    LPCWSTR pszName,
    REFIID riid,
    void **ppv
);

Parameters

  • pszName
    [in] String that specifies the name of the subfolder.
  • riid
    [in] IID of the requested interface.
  • ppv
    [out] Address of a pointer variable that receives the specified folder or NULL if the folder does not exist

Return Value

Returns S_OK if successful, or E_NOINTERFACE if the interface is not supported.

See Also

IXFeedFolder::Subfolders