Share via


ISynchronousNotifyingChangeApplier::GetChangeApplierInfo

Serializes the change applier data into a byte array.

Syntax

HRESULT GetChangeApplierInfo( 
  BYTE *pbChangeApplierInfo,
  DWORD *pcbChangeApplierInfo);

Parameters

  • pbChangeApplierInfo
    [in, out, unique, size_is(*pcbChangeApplierInfo)] Returns the serialized change applier data.

  • pcbChangeApplierInfo
    [in, out] Specifies the number of bytes in pbChangeApplierInfo. Returns the number of bytes required to retrieve the range value if pcbChangeApplierInfo is too small, or the number of bytes written.

Return Value

  • S_OK

  • S_FALSE if no change applier data exists.

  • E_OUTOFMEMORY

  • E_INVALIDARG

  • E_POINTER

  • HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pcbChangeApplierInfo is too small. In this case, the required number of bytes is returned in pcbChangeApplierInfo.

Remarks

This method is used to serialize data from this change applier to another change applier. For example, if the other change applier is remote, the data can be serialized from this object and used to initialize the remote change applier.

See Also

Reference

ISynchronousNotifyingChangeApplier Interface