|
|
|
IPersistMessage Interface |
|
IID_IPersistMessage |
{0002032A-0000-0000-C000-000000000046} |
|
The IPersistMessage interface is used by form viewers to handle the storage of a form and to transition between the various states.
All forms are required to implement the IPersistMessage interface. IPersistMessage works similarly to the OLE IPersistStorage interface; for more information on the IPersistStorage methods, and on working with storage objects in general, see the OLE Programmer's Reference.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IPersistMessage Methods |
Description |
|
GetLastError |
Returns a MAPIERROR structure containing information about the previous error in the form object. |
|
GetClassID |
Returns an identifier representing the form server that can manage the form. |
|
IsDirty |
Checks the form for changes made since the last save. |
|
InitNew |
Initializes a new message. |
|
Load |
Loads the form for a specified message. |
|
Save |
Saves a revised form back to the message from which it was loaded or created. |
|
SaveCompleted |
Notifies the form that a save operation has been completed. |
|
HandOffMessage |
Causes the form to release its current message. |
|
GetLastError |
|
FUNCTION
IPersistMessage_GetLastError ( _
|
|
GetClassID |
|
FUNCTION
IPersistMessage_GetClassID ( _
|
|
IsDirty |
|
FUNCTION
IPersistMessage_IsDirty ( _
|
|
InitNew |
|
FUNCTION
IPersistMessage_InitNew ( _ |
|
Load |
|
FUNCTION
IPersistMessage_Load ( _ |
|
Save |
|
FUNCTION
IPersistMessage_Save ( _ |
|
SaveCompleted |
|
FUNCTION
IPersistMessage_SaveCompleted ( _ |
|
HandsOffMessage |
|
FUNCTION
IPersistMessage_HandsOffMessage ( _ |
Page last updated on Monday, 03 April 2006 20:18:02 +0200