The VECTORSTOCK structure holds information about a vector stock object.
typedef struct tagVECTORSTOCK
{
VECTOROBJECT Object;
L_INT nId;
HINSTANCE hInstDLL;
L_CHAR * pszDLLName;
VECTORPOINT Point[2];
VECTORPEN Pen;
VECTORBRUSH Brush;
} VECTORSTOCK, * pVECTORSTOCK;
Abstract object.
Stock object ID in its DLL. The documentation for the stock object DLL should include valid object IDs.
Instance handle of the stock object DLL. This can be NULL only if pszDLLName is not NULL.
Character string that contains the name of the stock object DLL. This can be NULL only if hInstDLL is not NULL.
Array of VECTORPOINT structures that contains the vertices of the bounding parallelogram.
VECTORPEN structure that contains information about the pen to use when drawing the vector stock object.
VECTORBRUSH structure that contains information about the brush to use when drawing the vector stock object.
nSize of the Object member must be the sizeof this structure.
nType of the Object member must be VECTOR_STOCK.
Either hInstDLL or pszDLLName can be NULL. They cannot both be NULL. If hInstDLL is not NULL, the toolkit will load the requested object from this DLL handle. If hInstDLL is NULL, the toolkit will assume that pszDLLName indicates the complete path to the requested library.
pVECTORSTOCK is a pointer to a VECTORSTOCK structure.