Hervé Poussineau : mapi32: Use kernel32 functions instead of the ntdll ones.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 3 05:22:51 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 4f492014131b1bea887c961d99be011ea08085d2
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4f492014131b1bea887c961d99be011ea08085d2
Author: Hervé Poussineau <hpoussin at reactos.org>
Date: Fri Jun 30 21:34:09 2006 +0200
mapi32: Use kernel32 functions instead of the ntdll ones.
---
dlls/mapi32/prop.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/mapi32/prop.c b/dlls/mapi32/prop.c
index 54b18e1..1d6c2e8 100644
--- a/dlls/mapi32/prop.c
+++ b/dlls/mapi32/prop.c
@@ -1461,13 +1461,13 @@ static IPropDataItem *IMAPIPROP_AddValue
/* Internal - Lock an IPropData object */
static inline void IMAPIPROP_Lock(IPropDataImpl *This)
{
- RtlEnterCriticalSection(&This->cs);
+ EnterCriticalSection(&This->cs);
}
/* Internal - Unlock an IPropData object */
static inline void IMAPIPROP_Unlock(IPropDataImpl *This)
{
- RtlLeaveCriticalSection(&This->cs);
+ LeaveCriticalSection(&This->cs);
}
/* This one seems to be missing from mapidefs.h */
@@ -1553,7 +1553,7 @@ static inline ULONG WINAPI IMAPIProp_fnR
This->lpFree(current->value);
This->lpFree(current);
}
- RtlDeleteCriticalSection(&This->cs);
+ DeleteCriticalSection(&This->cs);
This->lpFree(This);
}
return (ULONG)lRef;
@@ -2542,7 +2542,7 @@ SCODE WINAPI CreateIProp(LPCIID iid, ALL
lpPropData->ulObjAccess = IPROP_READWRITE;
lpPropData->ulNumValues = 0;
list_init(&lpPropData->values);
- RtlInitializeCriticalSection(&lpPropData->cs);
+ InitializeCriticalSection(&lpPropData->cs);
*lppPropData = (LPPROPDATA)lpPropData;
}
return scode;
More information about the wine-cvs
mailing list