共用方式為


MKRREDUCE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration contains values that specify how far the moniker should be reduced. They are used in the IMoniker::Reduce method.

Syntax

typedef enum tagMKRREDUCE { 
  MKRREDUCE_ONE = 3<<16, 
  MKRREDUCE_TOUSER = 2<<16, 
  MKRREDUCE_THROUGHUSER = 1<<16, 
  MKRREDUCE_ALL = 0 
} MKRREDUCE; 

Elements

  • MKRREDUCE_ONE
    Performs only one step of reducing the moniker. In general, the caller must have specific knowledge about the particular kind of moniker to take advantage of this option.
  • MKRREDUCE_TOUSER
    Reduces the moniker to a form that the user identifies as a persistent object. If no such point exists, this option should be treated as MKRREDUCE_ALL.
  • MKRREDUCE_THROUGHUSER
    Reduces the moniker to where any further reduction would reduce it to a form that the user does not identify as a persistent object. Often, this is the same stage as MKRREDUCE_TOUSER.
  • MKRREDUCE_ALL
    Reduces the moniker until it is in its simplest form, that is, reduce it to itself.

Requirements

Header objidl.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IMoniker::Reduce