INFO: WAB: Groups Are the Same as Distribution Lists (IDistList) (266350)



The information in this article applies to:

  • Microsoft Outlook Express 5.5 for Windows NT 4.0
  • Microsoft Outlook Express 5.01 for Windows NT 4.0
  • Microsoft Outlook Express 5.0 for Windows NT 4.0
  • Microsoft Outlook Express 4.01 for Windows NT 4.0 SP 1
  • Microsoft Outlook Express 4.01 for Windows NT 4.0 SP 2
  • Microsoft Outlook Express 4.0 for Windows NT 4.0

This article was previously published under Q266350

SUMMARY

Outlook Express uses the Windows Address Book (WAB) to store contact data. The application used to view Address Book information (Wab.exe) refers to Groups, but the WAB application programming interface (API) makes no mention of Groups. In the WAB API, a Group is called a distribution list, and is represented by the IDistList interface.

MORE INFORMATION

Distribution lists can be distinguished from regular contacts by the value of the PR_OBJECT_TYPE property; the value for a contact is MAPI_MAILUSER, and the value for a distribution list is MAPI_DISTLIST.

When a distribution list is encountered, call the OpenEntry method to get an IDistList pointer. Because IDistList inherits from IMAPIContainer, the GetContentsTable method can be used on this pointer to get the contacts contained within the distribution list.

REFERENCES

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

266347 FILE: Windows Address Book (WAB) Documentation


Modification Type:MinorLast Reviewed:7/13/2004
Keywords:kbinfo kbMsg KB266350