Ignore:
Timestamp:
Sep 4, 2000, 6:40:50 PM (25 years ago)
Author:
bird
Message:

Corrected FATAL error in k32QueryOptionsStatus.cpp. (Forgot SSToDS...)
Improved error messages during init.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/k32/k32QueryOptionsStatus.cpp

    r4164 r4185  
    1 /* $Id: k32QueryOptionsStatus.cpp,v 1.2 2000-09-02 21:08:06 bird Exp $
     1/* $Id: k32QueryOptionsStatus.cpp,v 1.3 2000-09-04 16:40:50 bird Exp $
    22 *
    33 * k32QueryOptionsStatus  - Queries the options and/or the status of
     
    152152
    153153        /* initate the temporary structure */
    154         memset(&TmpStatus, 0, sizeof(K32STATUS));
     154        memset(SSToDS(&TmpStatus), 0, sizeof(K32STATUS));
    155155        TmpStatus.cb = sizeof(K32STATUS);
    156156
     
    185185
    186186        /* Win32k Build and version; and symfile name or SymDB. */
    187         strcpy(TmpStatus.szBuildDate, szBuildDate);                 /* Date of the win32k build. */
    188         strcpy(TmpStatus.szBuildTime, szBuildTime);                 /* Time of the win32k build. */
     187        strcpy((char*)SSToDS(TmpStatus.szBuildDate), szBuildDate);  /* Date of the win32k build. */
     188        strcpy((char*)SSToDS(TmpStatus.szBuildTime), szBuildTime);  /* Time of the win32k build. */
    189189        TmpStatus.ulVersion         = PE2LX_VERSION;                /* Win32k version */
    190         strcpy(TmpStatus.szSymFile, szUsrSym);  /* The name of the symbol file or sym database. */
     190        strcpy((char*)SSToDS(TmpStatus.szSymFile), szSymbolFile);   /* The name of the symbol file or sym database. */
    191191
    192192        /* Module counts */
Note: See TracChangeset for help on using the changeset viewer.