Open a File in Exclusive Mode (OpenFile of Kernel32.dll)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
tande
Newbie
Newbie
Posts: 2
Joined: Mon Mar 11, 2013 7:43 pm

Open a File in Exclusive Mode (OpenFile of Kernel32.dll)

Post by tande »

Hi,

I am Alexandre of Brazil

I'm trying to open a file in exclusive mode, but it seems the Wine ignores this way, so that others can change / delete the aquivo I opened mode excluded. Is there a way to solve this problem?

I'm using the OpenFile function of Kernel32.dll

Segue a função:

HFILE WINAPI OpenFile(
_In_ LPCSTR lpFileName,
_Out_ LPOFSTRUCT lpReOpenBuff,
_In_ UINT uStyle
);

I'm using the parameter value OF_SHARE_EXCLUSIVE in uStyle, but it seems that the Wine ignores any value for this parameter.

Could someone help me?
Locked