microsoft / microsoft/mfcmapi

Code: MAPI_E_UNKNOWN_FLAGS == 0x80040106

Open
#737 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
978
Forks
170
Avg merge
1d 3h
Merged PRs (30d)
5

Description

I'm running into an issue where my old/dismissed reminders come back every time I restart outlook. I'm trying to resolve the issue per resolution 2 on https://learn.microsoft.com/en-us/exchange/troubleshoot/calendars/cannot-dismiss-outlook-calendar-reminders. When I try to delete the reminders folder via mfcmapi (64-bit version 24.0.24100.06) I get the following error:

Error:
Code: MAPI_E_UNKNOWN_FLAGS == 0x80040106
Function lpParentFolder->DeleteFolder( static_cast(itemEID.size()), mapi::toEntryID(itemEID), lpProgress ? reinterpret_cast<ULONG_PTR>(m_hWnd) : NULL, lpProgress, ulFlags)
File C:__w\1\s\MFCMAPI\UI\Dialogs\HierarchyTable\MsgStoreDlg.cpp
Line 797

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at UI/Dialogs/HierarchyTable/MsgStoreDlg.cpp line 797, where the DeleteFolder call reports MAPI_E_UNKNOWN_FLAGS. Reproduce the error by deleting the reminders folder through the 64-bit MFCMAPI build, then trace the flags passed to that call and determine the expected behavior; the issue has no stated acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.