Changeset 5594 for trunk/src


Ignore:
Timestamp:
Apr 26, 2001, 7:00:33 PM (24 years ago)
Author:
sandervl
Message:

IsTextUnicode forwarded to RtlIsTextUnicode (ntdll)

Location:
trunk/src/advapi32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/advapi32/ADVAPI32.CPP

    r5569 r5594  
    1 /* $Id: ADVAPI32.CPP,v 1.17 2001-04-22 10:39:26 sandervl Exp $ */
     1/* $Id: ADVAPI32.CPP,v 1.18 2001-04-26 17:00:33 sandervl Exp $ */
    22
    33/*
     
    901901
    902902
    903 /*****************************************************************************
    904  * Name      : IsTextUnicode
    905  * Purpose   : The IsTextUnicode function determines whether a buffer probably
    906  *             contains a form of Unicode text. The function uses various
    907  *             statistical and deterministic methods to make its determination,
    908  *             under the control of flags passed via lpi. When the function
    909  *             returns, the results of such tests are reported via lpi. If all
    910  *             specified tests are passed, the function returns TRUE; otherwise,
    911  *             it returns FALSE.
    912  * Parameters: CONST LPVOID lpBuffer pointer to an input buffer to be examined
    913  *             int          cb       the size in bytes of the input buffer
    914  *             LPINT        lpi      pointer to flags that condition text examination and receive results
    915  * Variables :
    916  * Result    :
    917  * Remark    :
    918  * Status    : UNTESTED STUB
    919  *
    920  * Author    : Patrick Haller [Tue, 1998/06/16 23:00]
    921  *****************************************************************************/
    922 
    923 DWORD WIN32API IsTextUnicode(CONST LPVOID  lpBuffer,
    924                                 int           cb,
    925                                 LPINT         lpi)
    926 {
    927   DWORD dwResult = 0;
    928 
    929   dprintf(("ADVAPI32: IsTextUnicode(%08xh,%08xh,%08xh) not implemented.\n",
    930            lpBuffer,
    931            cb,
    932            lpi));
    933 
    934   if (cb & 0x0001) dwResult |= IS_TEXT_UNICODE_ODD_LENGTH;
    935 
    936   return (dwResult); /* signal failure */
    937 }
    938 
    939903
    940904/*****************************************************************************
  • trunk/src/advapi32/ADVAPI32.DEF

    r5569 r5594  
    1 ; $Id: ADVAPI32.DEF,v 1.15 2001-04-22 10:39:27 sandervl Exp $
     1; $Id: ADVAPI32.DEF,v 1.16 2001-04-26 17:00:33 sandervl Exp $
    22
    33;
     
    305305     InitiateSystemShutdownA    = _InitiateSystemShutdownA@20        @175
    306306     InitiateSystemShutdownW    = _InitiateSystemShutdownW@20        @176
    307      IsTextUnicode              = _IsTextUnicode@12                  @177
     307     IsTextUnicode              = _RtlIsTextUnicode@12               @177
    308308     IsValidAcl                 = _IsValidAcl@4                      @178
    309309     IsValidSecurityDescriptor  = _IsValidSecurityDescriptor@4       @179
Note: See TracChangeset for help on using the changeset viewer.