Ignore:
Timestamp:
Sep 7, 1999, 7:57:55 PM (26 years ago)
Author:
phaller
Message:

Fix: WINE_StringFromCLSID is needed in other modules, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/clsid.cpp

    r851 r856  
    1 /* 
    2  * 
     1/*
     2 *
    33 * Project Odin Software License can be found in LICENSE.TXT
    4  * 
     4 *
    55 */
    6 /* 
     6/*
    77 * ClassID Manipulation.
    8  * 
     8 *
    99 * 1/7/99
    10  * 
     10 *
    1111 * Copyright 1999 David J. Raison
    12  * 
     12 *
    1313 * Some portions from Wine Implementation
    1414 *   Copyright 1995  Martin von Loewis
     
    8686    memset(table, 0, 256);
    8787
    88     for (i = 0; i < 10; i++) 
     88    for (i = 0; i < 10; i++)
    8989    {
    9090        table['0' + i] = i;
    9191    }
    92     for (i = 0; i < 6; i++) 
     92    for (i = 0; i < 6; i++)
    9393    {
    9494        table['A' + i] = i+10;
     
    120120    s++;  /* skip - */
    121121
    122     for (i = 0; i < 2; i++) 
     122    for (i = 0; i < 2; i++)
    123123    {
    124124        p[1-i] = table[*s]<<4 | table[*(s+1)];
     
    129129
    130130    /* these are just sequential bytes */
    131     for (i = 0; i < 2; i++) 
     131    for (i = 0; i < 2; i++)
    132132    {
    133133        *p++ = table[*s]<<4 | table[*(s+1)];
     
    136136    s++;  /* skip - */
    137137
    138     for (i = 0; i < 6; i++) 
     138    for (i = 0; i < 6; i++)
    139139    {
    140140        *p++ = table[*s]<<4 | table[*(s+1)];
     
    158158// WINE_StringFromCLSID
    159159// ----------------------------------------------------------------------
    160 HRESULT WINE_StringFromCLSID(const CLSID *rclsid, LPSTR idstr)
     160HRESULT WIN32API WINE_StringFromCLSID(const CLSID *rclsid, LPSTR idstr)
    161161{
    162162    dprintf(("OLE32: WINE_StringFromCLSID"));
Note: See TracChangeset for help on using the changeset viewer.