On Fri, Nov 14, 2003 at 08:41:21PM +1100, Robert Collins wrote:
> /* io.h
> 
>    Copyright 2003 Robert Collins  <[EMAIL PROTECTED]>
>    Copyright 2003 Ron Parker      <[EMAIL PROTECTED]>
> 
> 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:[EMAIL PROTECTED]
Red Hat, Inc.

Reply via email to