Ignore:
Timestamp:
Dec 9, 1999, 12:01:09 PM (26 years ago)
Author:
sandervl
Message:

Ported ExpandEnvironmentStringsA/W (Wine: 991114)

File:
1 edited

Legend:

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

    r1924 r2042  
    1 /* $Id: stubs.cpp,v 1.11 1999-12-01 18:40:48 sandervl Exp $ */
     1/* $Id: stubs.cpp,v 1.12 1999-12-09 11:00:40 sandervl Exp $ */
    22
    33/*
     
    15471547}
    15481548
    1549 /*****************************************************************************
    1550  * Name      : DWORD WIN32API ExpandEnvironmentStringsA
    1551  * Purpose   : The ExpandEnvironmentStringsA function expands environment-variable
    1552  *             strings and replaces them with their defined values.
    1553  * Parameters: LPCSTR lpSrc  pointer to string with environment variables
    1554  *             LPSTR lpDst   pointer to string with expanded environment variables
    1555  *             DWORD nSize   maximum characters in expanded string
    1556  * Variables :
    1557  * Result    : If the function succeeds, the return value is the number of
    1558  *             characters stored in the destination buffer. If the number of
    1559  *             characters is greater than the size of the destination buffer,
    1560  *             the return value is the size of the buffer required to hold
    1561  *             the expanded strings.
    1562  *             If the function fails, the return value is zero
    1563  * Remark    :
    1564  * Status    : UNTESTED STUB
    1565  *
    1566  * Author    : Markus Montkowski [Tha, 1998/05/21 20:57]
    1567  *****************************************************************************/
    1568 
    1569 DWORD WIN32API ExpandEnvironmentStringsA(LPCSTR lpSrc,LPSTR lpDst,DWORD nSize)
    1570 {
    1571 
    1572   dprintf(("KERNEL32:ExpandEnvironmentStringsA(%08x,%08x,%08x) not implemented\n",
    1573            lpSrc, lpDst, nSize
    1574           ));
    1575 
    1576   return (0);
    1577 }
    1578 
    1579 /*****************************************************************************
    1580  * Name      : DWORD WIN32API ExpandEnvironmentStringsW
    1581  * Purpose   : The ExpandEnvironmentStringsA function expands environment-variable
    1582  *             strings and replaces them with their defined values.
    1583  * Parameters: LPCWSTR lpSrc  pointer to string with environment variables
    1584  *             LPWSTR lpDst   pointer to string with expanded environment variables
    1585  *             DWORD nSize   maximum characters in expanded string
    1586  * Variables :
    1587  * Result    : If the function succeeds, the return value is the number of
    1588  *             characters stored in the destination buffer. If the number of
    1589  *             characters is greater than the size of the destination buffer,
    1590  *             the return value is the size of the buffer required to hold
    1591  *             the expanded strings.
    1592  *             If the function fails, the return value is zero
    1593  * Remark    :
    1594  * Status    : UNTESTED STUB
    1595  *
    1596  * Author    : Markus Montkowski [Tha, 1998/05/21 20:57]
    1597  *****************************************************************************/
    1598 
    1599 DWORD WIN32API ExpandEnvironmentStringsW(LPCWSTR lpSrc,
    1600                                             LPWSTR lpDst,
    1601                                             DWORD nSize)
    1602 {
    1603 
    1604   dprintf(("KERNEL32:ExpandEnvironmentStringsW(%08x,%08x,%08x) not implemented\n",
    1605            lpSrc, lpDst, nSize
    1606           ));
    1607 
    1608   return (0);
    1609 }
    16101549
    16111550/*****************************************************************************
Note: See TracChangeset for help on using the changeset viewer.