Partager via


Constants (Exported Outlook APIs)

This topic contains constant definitions for APIs that Microsoft Outlook exports.

Definitions for Time Zone Support

const ULONG TZ_MAX_RULES                    = 0x00000001;  
const BYTE  TZ_BIN_VERSION_MAJOR            = 0x02;  
const BYTE  TZ_BIN_VERSION_MINOR            = 0x01; 
const WORD  TZRULE_FLAG_RECUR_CURRENT_TZREG = 0x0001; 
const WORD  TZRULE_FLAG_EFFECTIVE_TZREG     = 0x0002; 
const WORD  TZDEFINITION_FLAG_VALID_KEYNAME = 0x0002;

Definitions for Category Support

Constant Definition

PCAFSIF_MSGEID_IS_SEARCH_KEY

0x00000001

Miscellaneous Dispatch Identifiers

Outlook exposes the following dispatch identifiers (dispids) so that developers can use IDispatch::Invoke to access the corresponding property or method, or listen to the corresponding event.

Associated constant Dispid value Description Applicable interface

dispidFDirty

0xF024

Used to invoke the corresponding property on an item to verify whether the item has been modified but has not been saved.

Item-level objects

dispidShowSenderPhoto

0xF0D0

Used to invoke the corresponding method on the explorer or inspector to specify whether to display a contact’s picture, based on a given argument.

Explorer or inspector

dispidBeforePrint

0xFC8E

Used to handle the event from the IDispatch::Invoke function that fires before a printing operation.

Application

dispidEventReadComplete

0xFC8F

Used to handle the event from the IDispatch::Invoke function that fires when Outlook has completed reading the properties of the item.

Item-level objects

See also

Outlook Exported APIs
About APIs Exported by Outlook
How to: Determine Whether an Outlook Item Has Been Modified but Not Saved (Outlook 2010 Auxiliary Reference)
How to: Specify Whether to Display a Contact's Picture in Outlook (Outlook 2010 Auxiliary Reference)
Available events and their dispids (Outlook Exported APIs)