Platform SDK: Active Directory, ADSI, and Directory Services |
The DSBITEM structure holds the information of an item in a directory container to be displayed in a browser dialog boxes created in the DsBrowseForContainer function.
typedef struct DSBITEM { DWORD cbStruct; LPCWSTR pszADsPath; LPCWSTR pszClass; DWORD dwMask; DWORD dwState; DWORD dwStateMask; WCHAR szDisplayName [DSB_MAX_DISPLAYNAME_CHARS]; INT iIconResID; } DSBITEM, *PDSBITEM;
dwMask | Value |
---|---|
DSBF_DISPLAYNAME | 0x0000004 |
DSBF_ICONLOCATION | 0x0000002 |
DSBF_STATE | 0x0000001 |
dwStateMask | Value |
---|---|
DSBS_CHECKED | 0x0000001 |
DSBS_HIDDEN | 0x0000002 |
DSBS_ROOT | 0x0000004 |
The DSBITEM data structure represents an item in a container for display in the container browser. An item, when selected, is passed in a message to the callback function of the browser dialog through the lParam parameter. This callback function is specified in the DSBROWSEINFO structure which is used by the DsBrowseForContainer function.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsclient.h.
Unicode: Declared as Unicode and ANSI structures.
Active Directory Display Structures, DsBrowseForContainer, _BrowseCallBack, DSBROWSEINFO