Knowledge Base

BUG: GetStatusTable() Returns Invalid PR_RESOURCE_FLAGS

Article ID: 178072

Article Last Modified on 8/18/2005


APPLIES TO


This article was previously published under Q178072

SYMPTOMS

The PR_RESOURCE_FLAGS property returned from IMAPISession::GetStatusTable() is always set to 0.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The MAPITable populated by IMAPISession::GetStatusTable() always sets the PR_RESOURCE_FLAGS property in the table to 0. Even providers that have resource flags specifically set in the Mapisvc.inf file are reported to have no resource flags set.

Steps to Reproduce Behavior

  1. Open an extended MAPI session with MAPILogonEx().
  2. Call that session's member function, GetStatusTable().
  3. View the PR_RESOURCE_FLAGS property on the resource items in the table.

    Also note that this problem affects the way that the IMAPISession::QueryIdentity() method works in that the identity returned is not always consistent. Having multiple sessions open at once may cause the Identity returned from QueryIdentity() to change.

Additional query words: QueryIdentity GetStatusTable PR_RESOURCE_FLAGS

Keywords: kbbug kbmsg KB178072