Partager via


IActiveDesigner.SaveRuntimeState(Guid, Guid, IntPtr) Method

Definition

Saves the runtime state of the designer.

public:
 int SaveRuntimeState(Guid % riidPersist, Guid % riidObjStgMed, IntPtr pObjStgMed);
public int SaveRuntimeState (ref Guid riidPersist, ref Guid riidObjStgMed, IntPtr pObjStgMed);
abstract member SaveRuntimeState : Guid * Guid * nativeint -> int
Public Function SaveRuntimeState (ByRef riidPersist As Guid, ByRef riidObjStgMed As Guid, pObjStgMed As IntPtr) As Integer

Parameters

riidPersist
Guid

[in] The IID of the persistence interface to use.

riidObjStgMed
Guid

[in] The IID of the interface responsible for the storage.

pObjStgMed
IntPtr

nativeint

[in] Pointer to the storage managed by the interface riidObjStgMed.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From designer.idl:

HRESULT IActiveDesigner::SaveRuntimeState(  
   [in] REFIID riidPersist,   
   [in] REFIID riidObjStgMed,   
   [in] void * pObjStgMed  
);  

Applies to