#include <ole.h>
typedef struct _OLECLIENT { /* oc */
LPOLECLIENTVTBL lpvtbl;
.
. /* any client-supplied state information */
.
} OLECLIENT;
The OLECLIENT structure points to an OLECLIENTVTBL structure and can store state information for use by the client application.
lpvtbl
Points to a table of function pointers for the client.
Servers and object handlers should not attempt to use any state information supplied in the OLECLIENT structure. The use and meaning of this information is entirely dependent on the client application. Because a pointer to this structure is supplied as a parameter to the client's callback function, this is the preferred method for the client application to store private object-state information.