Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Filters Help

When "getting" a BSTR property, the memory containing the string is allocated with SysAllocString. When this string is no longer needed, free this memory by calling SysFreeString if you are working in an environment such as C or C++ that does not automatically delete the memory. VB automatically deletes the memory, so VB programmers do not need to free the memory themselves.

ILMMetaInfo Interface

Show in webframe

This is the interface for the LEAD Meta Info Object.

 

Data types

typedef [v1_enum] enum LMMetaInfo_Search
 {
    LMMetaInfo_Search_Text = 0x00000001,
    LMMetaInfo_Search_MatchDuration = 0x00000002,
    LMMetaInfo_Search_MatchYear = 0x00000004,
    LMMetaInfo_Search_MatchType = 0x00000008,
    LMMetaInfo_Search_UseParentPath = 0x00000010,
    LMMetaInfo_Search_BestMatchOnly = 0x00000020,
} LMMetaInfo_Search;

Describes possible search options.

 

Constant

Description

LMMetaInfo_Search_Text

Specifies that the input search is text and not a filename

LMMetaInfo_Search_MatchDuration

Strongly matches for duration

LMMetaInfo_Search_MatchYear

Strongly matches for year of production

LMMetaInfo_Search_MatchType

Strongly matches for type (genre)

LMMetaInfo_Search_UseParentPath

Parses parent path as well

LMMetaInfo_Search_BestMatchOnly

Include only those results with higher accuracy

 

Interface Methods:

HRESULT Search([in] BSTR path, [in] long flags);

 

Parameters

path

string that contains the search path, examples are:

 

 

    "METADATA/MDR-DVD/dvdTitle"
    "METADATA/MDR-DVD/director"
    "METADATA/MDR-DVD/leadPerformer"
    "METADATA/MDR-DVD/genre"
    "METADATA/MDR-DVD/studio"
    "METADATA/MDR-DVD/releaseDate"
    "METADATA/MDR-DVD/dataProvider"

flags

a combination of option flags, see LMMetaInfo_Search for more information

Description

 

Searches the Microsoft DVD Title Info database for DVD meta information.

The search can be performed on a File or Text string, using the Flags enumeration values to indicate File or Text mode, as well as other matching options for Duration, Year, Type (DVD, Bluray, etc), parent path (for 8.3 filenames with a descriptive parent folder name) and Best Match Only (to return only the best match).

 

Interface Properties

 

Type

Name

Description

ILMMetaInfoTitles

Titles

Read Only. Gets the resulting titles returned by a prior call to the Search method

 

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.