65 uuid(DDD6919C-EB62-46d3-B87A-DD6514CFBCC8),
68 helpstring(
"IWriteContainer Interface"),
69 pointer_default(unique)
97 [id(1), helpstring(
"Method GetName")] HRESULT
GetName([out, retval] BSTR* name);
128 [id(2), helpstring(
"Method Update")] HRESULT
Update(
void);
154 [id(3), helpstring(
"Method Destroy")] HRESULT
Destroy(
void);
179 [id(4), helpstring(
"Method Create")] HRESULT
Create(
void);
181 #if defined(WIN32) || defined(WIN64) 212 [id(5), helpstring(
"Method GetInformation")] HRESULT
GetInformation([out, retval]
struct ContainerInformation *containerInformation);
245 [id(6), helpstring(
"Method GetItemInformation")] HRESULT
GetItemInformation([out, retval] SAFEARRAY (
struct ContainerItemInformation) *containerInfo);
281 [id(7), helpstring(
"Method GetTagList")] HRESULT
GetTagList([out, retval] SAFEARRAY(BSTR) *tagList);
313 [id(10), helpstring(
"Method GetDataByTag")] HRESULT
GetDataByTag([in] BSTR tag, [out, retval] VARIANT *data);
345 [id(11), helpstring(
"Method SetDataByTag")] HRESULT
SetDataByTag([in] BSTR tag, [in] VARIANT data);
376 [id(12), helpstring(
"Method GetDataAsByteArray")] HRESULT
GetDataAsByteArray([out, retval] SAFEARRAY(BYTE) *data);
412 [id(13), helpstring(
"Method SetDataAsByteArray")] HRESULT
SetDataAsByteArray([in] SAFEARRAY(BYTE) data);
462 [id(20), helpstring(
"Method Add")] HRESULT
Add([in] BSTR tag);
490 [id(21), helpstring(
"Method Remove")] HRESULT
Remove([in] BSTR tag);
515 [id(22), helpstring(
"Method Clear")] HRESULT
Clear();
HRESULT GetInformation([out, retval] struct ContainerInformation *containerInformation)
This function reads information about the container using struct IContainer::ContainerInformation.
HRESULT Remove([in] BSTR tag)
This function removes a tag from the container. Convention for the tags is the same as for the Add me...
HRESULT Update(void)
This function updates the container by writing the data elements from the internal data collection to...
HRESULT Create(void)
This function creates the container. It will automatically be called within the Update function if th...
HRESULT GetDataByTag([in] BSTR tag, [out, retval] VARIANT *data)
This function reads data for a specified tag from the containers internal data collection. This data will possibly differ from the data on the control because a write container will never read data from the control.
HRESULT SetDataAsByteArray([in] SAFEARRAY(BYTE) data)
This function writes all data as byte array to the container. To update the data on the control you n...
HRESULT Add([in] BSTR tag)
This function adds a tag to the container. Each 'tag' identifies a data element which can be written...
HRESULT GetItemInformation([out, retval] SAFEARRAY(struct ContainerItemInformation)*containerInfo)
This function reads information about the container items using struct IContainer::ContainerItemInfor...
Definition of the IWriteContainer interface which can be used to establish a fast data exchange of gr...
HRESULT GetDataAsByteArray([out, retval] SAFEARRAY(BYTE)*data)
This function reads all data as byte array from the container. This data will possibly differ from th...
HRESULT SetDataByTag([in] BSTR tag, [in] VARIANT data)
This function writes data for a specified tag to the container. To update the data on the control you...
HRESULT Clear()
This function removes all tags of the container.
HRESULT GetName([out, retval] BSTR *name)
This function returns the identifier for this container.
HRESULT GetTagList([out, retval] SAFEARRAY(BSTR)*tagList)
This function reads the tag list of the container.
HRESULT Destroy(void)
This function destroys the container if it is not longer used.