--- Joe Wilson <[EMAIL PROTECTED]> wrote:
> There's also this - CreateFileTransacted():
> 
>  http://msdn2.microsoft.com/en-us/library/aa363859.aspx
> 
> which has the argument:
> 
>  dwShareMode
>     ...
>     If this parameter is 0 (zero) and CreateFileTransacted succeeds, 
>     the object cannot be shared and cannot be opened again until the 
>     handle is closed. 
>     ...
>     The sharing options remain in effect until you close the handle to 
>     an object.

Regrettably, CreateFileTransacted() is not a good option as it is new to 
Windows Vista.


 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to