Ignore:
Timestamp:
Jul 4, 2000, 10:41:13 AM (25 years ago)
Author:
sandervl
Message:

CopyFileExA/W, CreateDirectoryExA/W unstubbed, GetShortPathNameA/W fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/directory.cpp

    r3779 r3799  
    1 /* $Id: directory.cpp,v 1.28 2000-06-30 08:39:20 sandervl Exp $ */
     1/* $Id: directory.cpp,v 1.29 2000-07-04 08:41:13 sandervl Exp $ */
    22
    33/*
     
    277277}
    278278
     279/*****************************************************************************
     280 * Name      : BOOL WIN32API CreateDirectoryExA
     281 * Purpose   : The CreateDirectoryExA function creates a new directory with a
     282 *             specified path that retains the attributes of a specified
     283 *             template directory. If the underlying file system supports
     284 *             security on files and directories, the function applies a
     285 *             specified security descriptor to the new directory.
     286 *             The new directory retains the other attributes of the specified
     287 *             template directory. Note that CreateDirectoryEx has a template
     288 *             parameter, while CreateDirectory does not.
     289 * Parameters: LPCSTR lpTemplateDirectory  pointer to path string of template
     290 *                                         directory
     291 *             LPCSTR lpNewDirectory      pointer to path string of directory
     292 *                                         to create
     293 *             LPSECURITY_ATTRIBUTES lpSecurityAttributes  pointer to security
     294 *                                                         descriptor
     295 *
     296 * Variables :
     297 * Result    : If the function succeeds, the return value is nonzero.
     298 *             If the function fails, the return value is zero.
     299 *             To get extended error information, call GetLastError.
     300 * Remark    :
     301 * Status    : UNTESTED STUB
     302 *
     303 * Author    : Markus Montkowski [Tha, 1998/05/21 17:46]
     304 *****************************************************************************/
     305
     306BOOL WIN32API CreateDirectoryExA( LPCSTR lpTemplateDirectory,
     307                                  LPCSTR lpNewDirectory,
     308                                  LPSECURITY_ATTRIBUTES lpSecurityAttributes)
     309{
     310
     311  dprintf(("KERNEL32:CreateDirectoryExA(%08x,%08x,%08x) not properly implemented\n",
     312           lpTemplateDirectory,lpNewDirectory,lpSecurityAttributes
     313          ));
     314
     315  return CreateDirectoryA(lpNewDirectory, lpSecurityAttributes);
     316}
     317
     318/*****************************************************************************
     319 * Name      : BOOL WIN32API CreateDirectoryExW
     320 * Purpose   : The CreateDirectoryExW function creates a new directory with a
     321 *             specified path that retains the attributes of a specified
     322 *             template directory. If the underlying file system supports
     323 *             security on files and directories, the function applies a
     324 *             specified security descriptor to the new directory.
     325 *             The new directory retains the other attributes of the specified
     326 *             template directory. Note that CreateDirectoryEx has a template
     327 *             parameter, while CreateDirectory does not.
     328 * Parameters: LPCWSTR lpTemplateDirectory  pointer to path string of template
     329 *                                          directory
     330 *             LPCWSTR lpNewDirectory      pointer to path string of directory
     331 *                                         to create
     332 *             LPSECURITY_ATTRIBUTES lpSecurityAttributes  pointer to security
     333 *                                                         descriptor
     334 *
     335 * Variables :
     336 * Result    : If the function succeeds, the return value is nonzero.
     337 *             If the function fails, the return value is zero.
     338 *             To get extended error information, call GetLastError.
     339 * Remark    :
     340 * Status    : UNTESTED STUB
     341 *
     342 * Author    : Markus Montkowski [Tha, 1998/05/21 17:46]
     343 *****************************************************************************/
     344
     345BOOL WIN32API CreateDirectoryExW( LPCWSTR lpTemplateDirectory,
     346                                  LPCWSTR lpNewDirectory,
     347                                  LPSECURITY_ATTRIBUTES lpSecurityAttributes)
     348{
     349
     350  dprintf(("KERNEL32:CreateDirectoryExW(%08x,%08x,%08x) not properly implemented\n",
     351           lpTemplateDirectory,lpNewDirectory,lpSecurityAttributes
     352          ));
     353
     354  return CreateDirectoryW(lpNewDirectory, lpSecurityAttributes);
     355}
    279356
    280357/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.