diff --git a/dlls/mapi32/mapi32.spec b/dlls/mapi32/mapi32.spec index 4798e69cf1c..7292e528bf6 100644 --- a/dlls/mapi32/mapi32.spec +++ b/dlls/mapi32/mapi32.spec @@ -7,8 +7,8 @@ 15 stdcall MAPIAllocateMore@12(long ptr ptr) MAPIAllocateMore 16 stdcall MAPIFreeBuffer(ptr) 17 stdcall MAPIFreeBuffer@4(ptr) MAPIFreeBuffer - 18 stub MAPIAdminProfiles - 19 stub MAPIAdminProfiles@8 + 18 stdcall MAPIAdminProfiles(long ptr) + 19 stdcall MAPIAdminProfiles@8(long ptr) MAPIAdminProfiles 20 stdcall MAPIInitialize(ptr) 21 stdcall MAPIInitialize@4(ptr) MAPIInitialize 22 stdcall MAPIUninitialize() diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c index e2bdebf2fb2..983dc2451dc 100644 --- a/dlls/mapi32/mapi32_main.c +++ b/dlls/mapi32/mapi32_main.c @@ -110,3 +110,10 @@ VOID WINAPI MAPIUninitialize(void) { FIXME("Stub\n"); } + +HRESULT WINAPI MAPIAdminProfiles(ULONG ulFlags, LPPROFADMIN *lppProfAdmin) +{ + FIXME("(%u, %p): stub\n", ulFlags, lppProfAdmin); + *lppProfAdmin = NULL; + return E_FAIL; +}