Constants (Outlook exported APIs)

This topic contains constant definitions for APIs that 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