Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.66 KB

uninitialized-state.md

File metadata and controls

38 lines (24 loc) · 1.66 KB
title description manager ms.date ms.audience ms.localizationpriority api_type ms.assetid
Uninitialized State
Outlines how the Uninitialized state is the initial state form objects should be in when they are first created.
lindalu
03/09/2015
Developer
medium
COM
e071b50f-2e75-4537-ac7b-4a2f5ebea83d

Uninitialized State

Applies to: Outlook 2013 | Outlook 2016

The Uninitialized state is the initial state form objects should be in when they are first created. Form objects become initialized with message data when a client application calls the IPersistMessage::InitNew or IPersistMessage::Load method on the form object. The following table describes allowed transitions from the Unitialized state.

IPersistMessage method Action New state
IPersistMessage::InitNew
Load the form object with default data. Normal
IPersistMessage::Load
Load the form object with data from the target message. Normal
IPersistMessage::GetClassID
Return success, or set the last error to and return E_UNEXPECTED. Uninitialized
IPersistMessage::GetLastError
Return the last error. Uninitialized
Other IPersistMessage : IUnknown methods or methods from other interfaces
Set the last error to and return E_UNEXPECTED. Uninitialized

See also

Normal State

Form States