- pIvCalStore:[in] Pointer to the IvCalStore Interface object
- ObjId:[in] Object type
- pnAEEPropertyOIDs:[in/out] List of OIDs returned
- nSize:[in] Size of the list (number of elements)
- pnReqSize:[in/out] On return will contain the required number of elements (OIDs)
int IvCalStore_GetObjectOIDs(IvCalStore *pIvCalStore, AEECLSID ObjId, AEEVProperty *pnAEEPropertyOIDs, int nSize, int *pnReqSize);
This API would return the number of elements (OIDs) to be returned if pnAEEPropertyOIDs is NULL and not the size in bytes. User would first call the API with pnAEEPropertyOIDs as NULL. This would provide the number of elements in pnReqSize. Suppose the number of elements returned are 3, then user would allocate memory for 3 uint32 values and again call the API with pnAEEPropertyOIDs. User would call the API second time with allocated memory and nSize would specify the number of OIDs (same as returned from the first call) to be filled in pnAEEPropertyOIDs. AEEPRIVID_vCalStoreRead privilege is required to get the OIDs information from calendar store.