66 uuid(E0C16659-D333-4a40-B794-56A06AA49E97),
69 helpstring(
"IReadContainer Interface"),
70 pointer_default(unique)
98 [id(1), helpstring(
"Method GetName")] HRESULT
GetName([out, retval] BSTR* name);
126 [id(2), helpstring(
"Method Update")] HRESULT
Update(
void);
152 [id(3), helpstring(
"Method Destroy")] HRESULT
Destroy(
void);
177 [id(4), helpstring(
"Method Create")] HRESULT
Create(
void);
179 #if defined(WIN32) || defined(WIN64) 180 [id(5), helpstring(
"Method GetInformation")] HRESULT
GetInformation([out, retval]
struct ContainerInformation *containerInformation);
248 [id(6), helpstring(
"Method GetItemInformation")] HRESULT
GetItemInformation([out, retval] SAFEARRAY (
struct ContainerItemInformation) *containerInfo);
287 [id(7), helpstring(
"Method GetTagList")] HRESULT
GetTagList([out, retval] SAFEARRAY(BSTR) *tagList);
319 [id(10), helpstring(
"Method GetDataByTag")] HRESULT
GetDataByTag([in] BSTR tag, [out, retval] VARIANT *data);
350 [id(12), helpstring(
"Method GetDataAsByteArray")] HRESULT
GetDataAsByteArray([out, retval] SAFEARRAY(BYTE) *data);
400 [id(20), helpstring(
"Method Add")] HRESULT
Add([in] BSTR tag);
428 [id(21), helpstring(
"Method Remove")] HRESULT
Remove([in] BSTR tag);
453 [id(22), helpstring(
"Method Clear")] HRESULT
Clear();
HRESULT Clear()
This function removes all tags of the container.
HRESULT Update(void)
This function updates the container by reading the data elements from the control and storing it in a...
HRESULT GetInformation([out, retval] struct ContainerInformation *containerInformation)
This function reads information about the container using struct IContainer::ContainerInformation.
HRESULT GetItemInformation([out, retval] SAFEARRAY(struct ContainerItemInformation)*containerInfo)
This function reads information about the container items using struct IContainer::ContainerItemInfor...
Definition of the IReadContainer interface which can be used to establish a fast data exchange of gro...
HRESULT Create(void)
This function creates the container. It will automatically be called within the Update function if th...
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.
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 GetDataAsByteArray([out, retval] SAFEARRAY(BYTE)*data)
This function reads all data as byte array from the container. To get updated data, you need to call Update first.
HRESULT GetDataByTag([in] BSTR tag, [out, retval] VARIANT *data)
This function reads data for a specified tag from the container. To get updated data, you need to call Update first.
HRESULT Add([in] BSTR tag)
This function adds a tag to the container. Each 'tag' identifies a data element which can be read...