Directory Services |
The ADSPROPINITPARAMS structure is used with the ADsPropGetInitInfo function to obtain object data that a display specifier applies to.
typedef struct {
DWORD dwSize;
DWORD dwFlags;
HRESULT hr;
IDirectoryObject* pDsObj;
LPWSTR pwzCN;
PADS_ATTR_INFO pWritableAttrs; } ADSPROPINITPARAMS,
*PADSPROPINITPARAMS;
The ADsPropGetInitInfo function allocates memory for the pwzCN and pWritableAttrs members. This memory is freed by the system after all display specifier objects are destroyed. The reference count for the interface pointer in pDsObj is not incremented by calling ADsPropGetInitInfo, so the interface must not be released by the caller.
Windows XP: Multi-select property pages will always return NULL for the pDsObj and pWritableAttrs structure members.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Adsprop.h.