ITfPersistentPropertyLoaderACP::LoadProperty method (msctf.h)

Called to load a property.

Syntax

HRESULT LoadProperty(
  [in]  const TF_PERSISTENT_PROPERTY_HEADER_ACP *pHdr,
  [out] IStream                                 **ppStream
);

Parameters

[in] pHdr

Pointer to a TF_PERSISTENT_PROPERTY_HEADER_ACP structure that identifies the property to load. This structure contains the same data as the structure passed to ITextStoreACPServices::Unserialize.

[out] ppStream

Pointer to an IStream interface pointer that receives the stream object.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
One or more parameters are invalid.
E_OUTOFMEMORY
A memory allocation failure occurred.

Remarks

Only property data is written to the stream. The header data is not written to the stream.

Obtain the original position of the stream before writing to the stream. The original position should be restored in the stream before returning from this method.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITextStoreACPServices::Unserialize

ITfPersistentPropertyLoaderACP

TF_PERSISTENT_PROPERTY_HEADER_ACP