Changeset 3799 for trunk/src/kernel32/stubs.cpp
- Timestamp:
- Jul 4, 2000, 10:41:13 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/stubs.cpp
r3483 r3799 1 /* $Id: stubs.cpp,v 1.2 2 2000-05-02 20:53:13 sandervl Exp $ */1 /* $Id: stubs.cpp,v 1.23 2000-07-04 08:41:13 sandervl Exp $ */ 2 2 3 3 /* … … 530 530 531 531 return (Locale); 532 }533 534 /*****************************************************************************535 * Name : BOOL WIN32API CopyFileExA536 * Purpose : The CopyFileExA function copies an existing file to a new file.537 * This function preserves extended attributes, OLE structured538 * storage, NTFS alternate data streams, and file attributes.539 * Security attributes for the existing file are not copied to540 * the new file.541 * Parameters: LPCSTR lpExistingFileName pointer to name of an existing file542 * LPCSTR lpNewFileName pointer to filename to copy to543 * LPPROGRESS_ROUTINE lpProgressRoutine pointer to the callback function544 * LPVOID lpData to be passed to the callback function545 * LPBOOL pbCancel flag that can be used to cancel the operation546 * DWORD dwCopyFlags flags that specify how the file is copied547 * Variables :548 * Result : f the function succeeds, the return value is nonzero.549 * If the function fails, the return value is zero.550 * To get extended error information call GetLastError.551 * Remark :552 * Status : UNTESTED STUB553 *554 * Author : Markus Montkowski [Thu, 1998/05/19 11:46]555 *****************************************************************************/556 557 BOOL WIN32API CopyFileExA( LPCSTR lpExistingFileName,558 LPCSTR lpNewFileName,559 LPPROGRESS_ROUTINE lpProgressRoutine,560 LPVOID lpData,561 LPBOOL pbCancel,562 DWORD dwCopyFlags)563 {564 565 dprintf(("KERNEL32: CopyFileExA(%08x,%08x,%08x,%08x,%08x,%08x) not implemented\n",566 lpExistingFileName,567 lpNewFileName,568 lpProgressRoutine,569 lpData,570 pbCancel,571 dwCopyFlags572 ));573 574 return (FALSE);575 }576 577 578 /*****************************************************************************579 * Name : BOOL WIN32API CopyFileExW580 * Purpose : The CopyFileExW function copies an existing file to a new file.581 * This function preserves extended attributes, OLE structured582 * storage, NTFS alternate data streams, and file attributes.583 * Security attributes for the existing file are not copied to584 * the new file.585 * Parameters: LPCWSTR lpExistingFileName pointer to name of an existing file586 * LPCWSTR lpNewFileName pointer to filename to copy to587 * LPPROGRESS_ROUTINE lpProgressRoutine pointer to the callback function588 * LPVOID lpData to be passed to the callback function589 * LPBOOL pbCancel flag that can be used to cancel the operation590 * DWORD dwCopyFlags flags that specify how the file is copied591 * Variables :592 * Result : f the function succeeds, the return value is nonzero.593 * If the function fails, the return value is zero.594 * To get extended error information call GetLastError.595 * Remark :596 * Status : UNTESTED STUB597 *598 * Author : Markus Montkowski [Thu, 1998/05/19 11:46]599 *****************************************************************************/600 601 BOOL WIN32API CopyFileExW( LPCWSTR lpExistingFileName,602 LPCWSTR lpNewFileName,603 LPPROGRESS_ROUTINE lpProgressRoutine,604 LPVOID lpData,605 LPBOOL pbCancel,606 DWORD dwCopyFlags)607 {608 609 dprintf(("KERNEL32: CopyFileExW(%08x,%08x,%08x,%08x,%08x,%08x) not implemented\n",610 lpExistingFileName,611 lpNewFileName,612 lpProgressRoutine,613 lpData,614 pbCancel,615 dwCopyFlags616 ));617 618 return (FALSE);619 }620 621 /*****************************************************************************622 * Name : BOOL WIN32API CreateDirectoryExA623 * Purpose : The CreateDirectoryExA function creates a new directory with a624 * specified path that retains the attributes of a specified625 * template directory. If the underlying file system supports626 * security on files and directories, the function applies a627 * specified security descriptor to the new directory.628 * The new directory retains the other attributes of the specified629 * template directory. Note that CreateDirectoryEx has a template630 * parameter, while CreateDirectory does not.631 * Parameters: LPCSTR lpTemplateDirectory pointer to path string of template632 * directory633 * LPCSTR lpNewDirectory pointer to path string of directory634 * to create635 * LPSECURITY_ATTRIBUTES lpSecurityAttributes pointer to security636 * descriptor637 *638 * Variables :639 * Result : If the function succeeds, the return value is nonzero.640 * If the function fails, the return value is zero.641 * To get extended error information, call GetLastError.642 * Remark :643 * Status : UNTESTED STUB644 *645 * Author : Markus Montkowski [Tha, 1998/05/21 17:46]646 *****************************************************************************/647 648 BOOL WIN32API CreateDirectoryExA( LPCSTR lpTemplateDirectory,649 LPCSTR lpNewDirectory,650 LPSECURITY_ATTRIBUTES lpSecurityAttributes)651 {652 653 dprintf(("KERNEL32:CreateDirectoryExA(%08x,%08x,%08x) not implemented\n",654 lpTemplateDirectory,lpNewDirectory,lpSecurityAttributes655 ));656 657 return (FALSE);658 }659 660 /*****************************************************************************661 * Name : BOOL WIN32API CreateDirectoryExW662 * Purpose : The CreateDirectoryExW function creates a new directory with a663 * specified path that retains the attributes of a specified664 * template directory. If the underlying file system supports665 * security on files and directories, the function applies a666 * specified security descriptor to the new directory.667 * The new directory retains the other attributes of the specified668 * template directory. Note that CreateDirectoryEx has a template669 * parameter, while CreateDirectory does not.670 * Parameters: LPCWSTR lpTemplateDirectory pointer to path string of template671 * directory672 * LPCWSTR lpNewDirectory pointer to path string of directory673 * to create674 * LPSECURITY_ATTRIBUTES lpSecurityAttributes pointer to security675 * descriptor676 *677 * Variables :678 * Result : If the function succeeds, the return value is nonzero.679 * If the function fails, the return value is zero.680 * To get extended error information, call GetLastError.681 * Remark :682 * Status : UNTESTED STUB683 *684 * Author : Markus Montkowski [Tha, 1998/05/21 17:46]685 *****************************************************************************/686 687 BOOL WIN32API CreateDirectoryExW( LPCWSTR lpTemplateDirectory,688 LPCWSTR lpNewDirectory,689 LPSECURITY_ATTRIBUTES lpSecurityAttributes)690 {691 692 dprintf(("KERNEL32:CreateDirectoryExW(%08x,%08x,%08x) not implemented\n",693 lpTemplateDirectory,lpNewDirectory,lpSecurityAttributes694 ));695 696 return (FALSE);697 532 } 698 533
Note:
See TracChangeset
for help on using the changeset viewer.