thunk createDirectory and createFile calls
Corinna Vinschen
cygwin-patches@cygwin.com
Fri Nov 14 10:18:00 GMT 2003
On Fri, Nov 14, 2003 at 08:41:21PM +1100, Robert Collins wrote:
> /* io.h
>
> Copyright 2003 Robert Collins <rbtcollins@hotmail.com>
> Copyright 2003 Ron Parker <rdparker@butlermfg.com>
>
> This file is part of Cygwin.
>
> This software is a copyrighted work licensed under the terms of the
> Cygwin license. Please consult the file "CYGWIN_LICENSE" for
> details. */
>
> #ifndef _IO_H_
> #define _IO_H_
>
> inline HANDLE
> cygwin_create_file (LPCTSTR file_name, DWORD access, DWORD share_mode,
> LPSECURITY_ATTRIBUTES sec_attr,
> DWORD disposition, DWORD flags,
> HANDLE template_file)
> {
> return CreateFileA(file_name, access, share_mode, sec_attr, disposition,
> flags, template_file);
> }
>
> inline
> BOOL cygwin_create_directory (LPCTSTR filename, LPSECURITY_ATTRIBUTES sec_attr)
> {
> return CreateDirectory(filename, sec_attr);
^^^^^^^^^^^^^^^
CreateDirectoryA?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
More information about the Cygwin-patches
mailing list