IMFASFIndexer::SetFlags method

Sets indexer options.

Syntax


HRESULT SetFlags(
  [in]  DWORD dwFlags
);

Parameters

dwFlags [in]

Bitwise OR of zero or more flags from the MFASF_INDEXER_FLAGS enumeration specifying the indexer options to use.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

MF_E_INVALIDREQUEST

The indexer object was initialized before setting flags for it. For more information, see Remarks.

 

Remarks

IMFASFIndexer::SetFlags must be called before IMFASFIndexer::Initialize. Attempting to call SetFlags after Initialize will return MF_E_INVALIDREQUEST as a result.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

Library

Mfuuid.lib

See also

IMFASFIndexer
ASF Index Object

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.