|
|
|
IPersistMoniker Interface |
|
IID_IPersistMoniker |
{79EAC9C9-BAF9-11CE-8C82-00AA004BA90B} |
|
This interface provides methods that offer more control over the binding of persistent data.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
IPersistMoniker Methods |
Description |
|
GetClassID |
Retrieves the class identifier of an object. |
|
IsDirty |
Checks an object for changes since it was last saved. |
|
Load |
Loads the object from its persistent state indicated by a supplied moniker. |
|
Save |
Requests that the object save itself to a specified location. |
|
SaveCompleted |
Notifies the client application that its persisted state has been completely saved, and points the client to its new persisted state. |
|
GetCurMoniker |
Retrieves the moniker that refers to the object's persistent state. |
|
GetClassID |
|
FUNCTION IPersistMoniker_GetClassID ( _ BYVAL pthis AS DWORD PTR _ , BYREF pClassID AS GUID _ )
AS LONG
LOCAL HRESULT AS
LONG
|
|
IsDirty |
|
FUNCTION IPersistMoniker_IsDirty ( _ BYVAL pthis AS DWORD PTR _ )
AS LONG
LOCAL HRESULT AS
LONG
|
|
Load |
|
FUNCTION IPersistMoniker_Load ( _ BYVAL pthis AS DWORD PTR _ , BYVAL fFullyAvailable AS LONG _ , BYVAL pimkName AS DWORD _ , BYVAL pibc AS DWORD _ , BYVAL grfMode AS DWORD _ )
AS LONG LOCAL HRESULT AS LONG
CALL DWORD @@pthis[5]
USING IPersistMoniker_Load (pthis,
fFullyAvailable, pimkName, pibc, grfMode) TO
HRESULT
|
|
Save |
|
FUNCTION IPersistMoniker_Save ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pimkName AS DWORD _ , BYVAL pbc AS DWORD _ , BYVAL fRemember AS LONG _ )
AS LONG LOCAL HRESULT AS LONG
CALL DWORD @@pthis[6]
USING IPersistMoniker_Save (pthis, pimkName,
pbc, fRemember) TO HRESULT
|
|
SaveCompleted |
|
FUNCTION IPersistMoniker_SaveCompleted ( _ BYVAL pthis AS DWORD PTR _ , BYVAL pimkName AS DWORD _ , BYVAL pibc AS DWORD _ )
AS LONG
LOCAL HRESULT AS
LONG
|
|
GetCurMoniker |
|
FUNCTION IPersistMoniker_GetCurMoniker ( _ BYVAL pthis AS DWORD PTR _ , BYREF ppimkName AS DWORD _ )
AS LONG
LOCAL HRESULT AS
LONG
|
Page last updated on Thursday, 12 October 2006 22:50:34 +0200