Returns an array of object types that can be secured with access control entries.
HRESULT GetObjectTypes ( ULONG * cObjectTypes, GUID ** rgObjectTypes );
The provider calls CoTaskMemAlloc to allocate an array of GUIDs that represent all the types of objects that can have permissions settings applied to them. OLE DB defines several standard object type GUIDs. Additionally, the provider may define provider-specific GUIDs to identify object types unique to the data store; these types should be clearly documented by the provider's developer.
The consumer releases the allocated array at rgObjectTypes by calling CoTaskMemFree when it is finished.