Gets a pointer to a structure containing information about the identity and location of a directory service object.
HRESULT GetObjectInformation(
PADS_OBJECT_INFO * ppObjInfo //Information about the DS object
);
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
The caller is responsible for releasing the ADS_OBJECT_INFO structure that GetObjectInformation creates.
Automation clients must call IADs::GetInfo