GetComponentInstanceStorage
Allows your component to retrieve a handle to the memory associated with a connection.
Declaration
Handle GetComponentInstanceStorage(ComponentInstance aComponentInstance);Parameters
- aComponentInstance:
The connection for which to retrieve the associated memory. The Component Manager provides a component instance to your component when the connection is opened. You can use a component identifier here, but you must coerce the data type appropriately.
Return Value
A handle to the memory associated with the specified connection.
Discussion
Typically, your component does not need to use this function, because the Component Manager provides this handle to your component each time the client application requests service from this connection.
Your component tells the Component Manager about the memory associated with a connection by calling the SetComponentInstanceStorage function.