Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "IFilter" in [All]

Enums

.
Summary
.

enum IFilterReturnCodes : uint {

.

        /// Unable to bind IFilter for embedded object

.

        /// Unable to bind IFilter for linked object

.

#Region "IFilterReturnCodes Enumeration Definition"

.

    Public Enum IFilterReturnCodes

.
Documentation
[IFilterReturnCodes] on MSDN
.

enum IFILTER_FLAGS {

.

   /// enumerators should not be returned from IFilter.

.

   IFILTER_FLAGS_OLE_PROPERTIES = 1

.

#Region "IFILTER_FLAGS Enumeration Definition"

.

   Public Enum IFILTER_FLAGS

.

     '// available through COM enumerators should not be returned from IFilter.

.

     IFILTER_FLAGS_OLE_PROPERTIES = 1

.
Documentation
[IFILTER_FLAGS] on MSDN
.

public enum IFILTER_INIT

.

   IFILTER_INIT_CANON_PARAGRAPHS = 1,

.

   IFILTER_INIT_HARD_LINE_BREAKS = 2,

.

   IFILTER_INIT_CANON_HYPHENS = 4,

.

   /// Just as the IFILTER_INIT_CANON_HYPHENS flag standardizes hyphens,

.

   IFILTER_INIT_CANON_SPACES = 8,

.

   IFILTER_INIT_APPLY_INDEX_ATTRIBUTES = 16,

.

   IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES = 256,

.

   /// Any properties not covered by the IFILTER_INIT_APPLY_INDEX_ATTRIBUTES

.

   /// and IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES flags should be emitted.

.

   IFILTER_INIT_APPLY_OTHER_ATTRIBUTES = 32,

.

   /// Optimizes IFilter for indexing because the client calls the

.

   /// IFilter::Init method only once and does not call IFilter::BindRegion.

.

   IFILTER_INIT_INDEXING_ONLY = 64,

.

   /// IFilter::GetChunk call that would have obtained the first chunk of the

.

   IFILTER_INIT_SEARCH_LINKS = 128,

.

   IFILTER_INIT_FILTER_OWNED_VALUE_OK = 512

.

#Region "IFILTER_INIT Enumeration Definition"

.

  Public Enum IFILTER_INIT

.

    IFILTER_INIT_CANON_PARAGRAPHS = 1

.

    IFILTER_INIT_HARD_LINE_BREAKS = 2

.

    IFILTER_INIT_CANON_HYPHENS = 4

.

    '  Just as the IFILTER_INIT_CANON_HYPHENS flag standardizes hyphens

.

    IFILTER_INIT_CANON_SPACES = 8

.

    IFILTER_INIT_APPLY_INDEX_ATTRIBUTES = 16

.

    IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES = 256

.

    '   Any properties not covered by the IFILTER_INIT_APPLY_INDEX_ATTRIBUTES

.

    '   and IFILTER_INIT_APPLY_CRAWL_ATTRIBUTES flags should be emitted.

.

    IFILTER_INIT_APPLY_OTHER_ATTRIBUTES = 32

.

    '   Optimizes IFilter for indexing because the client calls the

.

    '   IFilter::Init method only once and does not call IFilter::BindRegion.

.

    IFILTER_INIT_INDEXING_ONLY = 64

.

    '   IFilter::GetChunk call that would have obtained the first chunk of the

.

    IFILTER_INIT_SEARCH_LINKS = 128

.

    IFILTER_INIT_FILTER_OWNED_VALUE_OK = 512

.
Documentation
[IFILTER_INIT] on MSDN
.
Summary

Structures

.

  '''   structure is used by the IFilter::BindRegion method.

.

To receive messages from a kernel-mode minifilter, a user-mode application typically defines a custom message structure. This structure typically consists of this header structure, followed by an application-defined structure to hold the actual message data.

.

This structure is allocated by a user-mode application. It is a container for a reply that the application sends in response to a message received from a kernel-mode minifilter or minifilter instance.

.

        /// current instance of the IFilter interface.

.

        /// IFilter::GetText should be used to retrieve the contents of the chunk

.

        /// If the CHUNK_VALUE flag is set, IFilter::GetValue should be used to retrieve

Interfaces

.

interface IFilter

.

   /// The IFilter::Init method initializes a filtering session.

.

   IFilterReturnCodes Init(

.

     //[in] Flag settings from the IFILTER_INIT enumeration for

.

     // scope, and IFilter access patterns.

.

     IFILTER_INIT grfFlags,

.

     //  caller; from the IFILTER_FLAGS enumeration.

.

     out IFILTER_FLAGS pdwFlags);

.

   /// The IFilter::GetChunk method positions the filter at the beginning

.

   IFilterReturnCodes GetChunk(out STAT_CHUNK pStat);

.

   /// The IFilter::GetText method retrieves text (text-type properties)

.

   IFilterReturnCodes GetText(

.

   /// The IFilter::GetValue method retrieves a value (public

.

   IFilterReturnCodes GetValue(

.

   /// The IFilter::BindRegion method retrieves an interface representing

.

   IFilterReturnCodes BindRegion(ref FILTERREGION origPos,

.

Public Interface IFilter

.

      '''   The IFilter::Init method initializes a filtering session.

.

        ByVal grfFlags As IFILTER_INIT, _

.

        ByVal pdwFlags As IFILTER_FLAGS _

.

        ) As IFilterReturnCodes

.

        ' <in> grfFlags - Flag settings from the IFILTER_INIT enumeration for

.

        ' scope, and IFilter access patterns.

.

        '  caller; from the IFILTER_FLAGS enumeration.

.

     '''    The IFilter::GetChunk method positions the filter at the beginning

.

            ) As IFilterReturnCodes

.

     '''   The IFilter::GetText method retrieves text (text-type properties)

.

      ) As IFilterReturnCodes

.

     '''   The IFilter::GetValue method retrieves a value (public

.

            ) As IFilterReturnCodes

.

     '''   The IFilter::BindRegion method retrieves an interface representing

.

              ) As IFilterReturnCodes

.

IFILTER_FLAGS, IFILTER_INIT, FULLPROPSPEC, IFilterReturnCodes, STAT_CHUNK, FILTERREGION

.
Documentation
[IFilter] on MSDN

query

.
Summary
This function load an IFilter COM object in memory
.

static extern int LoadIFilter(string pwcsPath,

.

          ref IFilter ppIUnk);

.

Declare Unicode Function LoadIFilter Lib "query.dll" (ByVal pwcsPath As String, _

.

                               ByRef ppIUnk As IFilter) As Integer

.
Documentation
[LoadIFilter] on MSDN

 
Access PInvoke.net directly from VS: