Ignore:
Timestamp:
Dec 6, 2001, 11:14:45 AM (24 years ago)
Author:
sandervl
Message:

partly implemented FindFirstFileExA/W

File:
1 edited

Legend:

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

    r7480 r7555  
    1 /* $Id: stubs.cpp,v 1.35 2001-11-29 10:31:07 phaller Exp $
     1/* $Id: stubs.cpp,v 1.36 2001-12-06 10:14:45 sandervl Exp $
    22 *
    33 * Win32 KERNEL32 Subsystem for OS/2
     
    8787
    8888
    89 // For FindFirstFileEx
    90 
    91 #define FIND_FIRST_EX_CASE_SENSITIVE   0x00000001
    9289
    9390/*****************************************************************************
    9491 * Structures                                                                *
    9592 *****************************************************************************/
    96 
    97  // For FindFirstFileEx
    98 
    99 typedef enum _FINDEX_INFO_LEVELS {
    100     FindExInfoStandard,
    101     FindExInfoMaxInfoLevel
    102 } FINDEX_INFO_LEVELS;
    103 
    104 typedef enum _FINDEX_SEARCH_OPS {
    105     FindExSearchNameMatch,
    106     FindExSearchLimitToDirectories,
    107     FindExSearchLimitToDevices,
    108     FindExSearchMaxSearchOp
    109 } FINDEX_SEARCH_OPS;
    11093
    11194 // For Backup funtions
     
    820803}
    821804
    822 
    823 /*****************************************************************************
    824  * Name      : HANDLE WIN32API FindFirstFileExA
    825  * Purpose   : The FindFirstFileExA function searches a directory for a file
    826  *             whose name and attributes match those specified in the
    827  *             function call.
    828  * Parameters: LPCSTR lpFileName                 pointer to the name of the file
    829  *                                               to search for
    830  *             FINDEX_INFO_LEVELS fInfoLevelId   information level of the returned data
    831  *             LPVOID lpFindFileData             pointer to the returned information
    832  *             FINDEX_SEARCH_OPS fSearchOp       type of filtering to perform
    833  *             LPVOID lpSearchFilter             pointer to search criteria
    834  *             DWORD dwAdditionalFlags           additional search control flags
    835  * Variables :
    836  * Result    : If the function succeeds, the return value is a search handle
    837  *             that can be used in a subsequent call to the FindNextFile or
    838  *             FindClose functions.
    839  *             If the function fails, the return value is INVALID_HANDLE_VALUE
    840  * Remark    :
    841  * Status    : UNTESTED STUB
    842  *
    843  * Author    : Markus Montkowski [Tha, 1998/05/21 20:57]
    844  *****************************************************************************/
    845 
    846 HANDLE WIN32API FindFirstFileExA( LPCSTR lpFileName,
    847                                      FINDEX_INFO_LEVELS fInfoLevelId,
    848                                      LPVOID lpFindFileData,
    849                                      FINDEX_SEARCH_OPS fSearchOp,
    850                                      LPVOID lpSearchFilter,
    851                                      DWORD dwAdditionalFlags)
    852 {
    853 
    854   dprintf(("KERNEL32:  FindFirstFileExA(%08x,%08x,%08x,%08x,%08x,%08x)not implemented - INVALID_HANDLE_VALUE\n",
    855            lpFileName,
    856            fInfoLevelId,
    857            lpFindFileData,
    858            fSearchOp,
    859            lpSearchFilter,
    860            dwAdditionalFlags
    861           ));
    862 
    863   return (INVALID_HANDLE_VALUE);
    864 }
    865 
    866 /*****************************************************************************
    867  * Name      : HANDLE WIN32API FindFirstFileExW
    868  * Purpose   : The FindFirstFileExW function searches a directory for a file
    869  *             whose name and attributes match those specified in the
    870  *             function call.
    871  * Parameters: LPCWSTR lpFileName                pointer to the name of the file
    872  *                                               to search for
    873  *             FINDEX_INFO_LEVELS fInfoLevelId   information level of the returned data
    874  *             LPVOID lpFindFileData             pointer to the returned information
    875  *             FINDEX_SEARCH_OPS fSearchOp       type of filtering to perform
    876  *             LPVOID lpSearchFilter             pointer to search criteria
    877  *             DWORD dwAdditionalFlags           additional search control flags
    878  * Variables :
    879  * Result    : If the function succeeds, the return value is a search handle
    880  *             that can be used in a subsequent call to the FindNextFile or
    881  *             FindClose functions.
    882  *             If the function fails, the return value is INVALID_HANDLE_VALUE
    883  * Remark    :
    884  * Status    : UNTESTED STUB
    885  *
    886  * Author    : Markus Montkowski [Tha, 1998/05/21 20:57]
    887  *****************************************************************************/
    888 
    889 HANDLE WIN32API FindFirstFileExW( LPCWSTR lpFileName,
    890                                      FINDEX_INFO_LEVELS fInfoLevelId,
    891                                      LPVOID lpFindFileData,
    892                                      FINDEX_SEARCH_OPS fSearchOp,
    893                                      LPVOID lpSearchFilter,
    894                                      DWORD dwAdditionalFlags)
    895 {
    896 
    897   dprintf(("KERNEL32:  FindFirstFileExW(%08x,%08x,%08x,%08x,%08x,%08x)not implemented - INVALID_HANDLE_VALUE\n",
    898            lpFileName,
    899            fInfoLevelId,
    900            lpFindFileData,
    901            fSearchOp,
    902            lpSearchFilter,
    903            dwAdditionalFlags
    904           ));
    905 
    906   return (INVALID_HANDLE_VALUE);
    907 }
    908 
    909805/*****************************************************************************
    910806 * Name      : int WIN32API FoldStringA
Note: See TracChangeset for help on using the changeset viewer.