Ignore:
Timestamp:
Jan 17, 2001, 6:34:55 PM (25 years ago)
Author:
umoeller
Message:

Misc. changes for V0.9.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/winh.h

    r14 r25  
    129129                                      SHORT iPosition,
    130130                                      SHORT sItemId,
    131                                       PSZ pszItemTitle,
     131                                      const char *pcszItemTitle,
    132132                                      SHORT afStyle,
    133133                                      SHORT afAttr);
     
    136136                                    ULONG iPosition,
    137137                                    SHORT sMenuId,
    138                                     PSZ pszSubmenuTitle,
     138                                    const char *pcszSubmenuTitle,
    139139                                    USHORT afMenuStyle,
    140140                                    SHORT sItemId,
    141                                     PSZ pszItemTitle,
     141                                    const char *pcszItemTitle,
    142142                                    USHORT afItemStyle,
    143143                                    USHORT afAttribute);
     
    469469    BOOL XWPENTRY winhHandleScrollMsg(HWND hwnd2Scroll,
    470470                                      HWND hwndScrollBar,
    471                                       PLONG plCurUnitOfs,
     471                                      PULONG pulCurPelsOfs,
    472472                                      PRECTL prcl2Scroll,
    473473                                      LONG ulViewportPels,
     
    490490     ********************************************************************/
    491491
    492     BOOL XWPENTRY winhSaveWindowPos(HWND hwnd, HINI hIni, PSZ pszApp, PSZ pszKey);
    493 
    494     BOOL XWPENTRY winhRestoreWindowPos(HWND hwnd, HINI hIni, PSZ pszApp, PSZ pszKey, ULONG fl);
     492    BOOL XWPENTRY winhSaveWindowPos(HWND hwnd, HINI hIni, const char *pcszApp, const char *pcszKey);
     493
     494    BOOL XWPENTRY winhRestoreWindowPos(HWND hwnd, HINI hIni, const char *pcszApp, const char *pcszKey, ULONG fl);
    495495
    496496    #define XAC_MOVEX       0x0001
     
    571571    #ifdef INCL_WINHELP
    572572        HWND XWPENTRY winhCreateHelp(HWND hwndFrame,
    573                                      PSZ pszFileName,
     573                                     const char *pcszFileName,
    574574                                     HMODULE hmod,
    575575                                     PHELPTABLE pHelpTable,
    576                                      PSZ pszWindowTitle);
     576                                     const char *pcszWindowTitle);
    577577
    578578        void XWPENTRY winhDestroyHelp(HWND hwndHelp, HWND hwndFrame);
     
    589589    #endif
    590590
    591     BOOL XWPENTRY winhAnotherInstance(PSZ pszSemName, BOOL fSwitch);
     591    BOOL XWPENTRY winhAnotherInstance(const char *pcszSemName, BOOL fSwitch);
    592592
    593593    HSWITCH XWPENTRY winhAddToTasklist(HWND hwnd, HPOINTER hIcon);
     
    613613                              ULONG flFlags,
    614614                              HINI hini,
    615                               PSZ pszApplication,
    616                               PSZ pszKey);
     615                              const char *pcszApplication,
     616                              const char *pcszKey);
    617617
    618618    HPOINTER XWPENTRY winhSetWaitPointer(VOID);
     
    629629
    630630    BOOL XWPENTRY winhReplaceWindowText(HWND hwnd,
    631                                         PSZ pszSearch,
    632                                         PSZ pszReplaceWith);
     631                                        const char *pcszSearch,
     632                                        const char *pcszReplaceWith);
    633633
    634634    ULONG XWPENTRY winhCenteredDlgBox(HWND hwndParent, HWND hwndOwner,
     
    647647                                      ULONG flFrameCreateFlags,
    648648                                      ULONG ulFrameStyle,
    649                                       PSZ pszFrameTitle,
     649                                      const char *pcszFrameTitle,
    650650                                      ULONG ulResourcesID,
    651                                       PSZ pszClassClient,
     651                                      const char *pcszClassClient,
    652652                                      ULONG flStyleClient,
    653653                                      ULONG ulID,
     
    655655                                      PHWND phwndClient);
    656656
    657     /*
    658      *@@ winhCreateObjectWindow:
    659      *      creates an object window of the specified
    660      *      window class, which you should have registered
    661      *      before calling this. pvCreateParam will be
    662      *      given to the window on WM_CREATE.
    663      *
    664      *      Returns the HWND of the object window or
    665      *      NULLHANDLE on errors.
    666      *
    667      *@@added V0.9.3 (2000-04-17) [umoeller]
    668      */
    669 
    670     #define winhCreateObjectWindow(pcszWindowClass, pvCreateParam) \
    671                 WinCreateWindow(HWND_OBJECT, pcszWindowClass,   \
    672                     (PSZ)"", 0, 0,0,0,0, 0, HWND_BOTTOM, 0, pvCreateParam, NULL)
     657    HWND winhCreateObjectWindow(const char *pcszWindowClass,
     658                                PVOID pvCreateParam);
    673659
    674660    VOID XWPENTRY winhRepaintWindows(HWND hwndParent);
     
    684670                                 ULONG ulDownUnits);
    685671
    686     ULONG XWPENTRY winhDrawFormattedText(HPS hps, PRECTL prcl, PSZ pszText, ULONG flCmd);
     672    ULONG XWPENTRY winhDrawFormattedText(HPS hps, PRECTL prcl, const char *pcszText, ULONG flCmd);
    687673
    688674    #ifdef INCL_WINSWITCHLIST
Note: See TracChangeset for help on using the changeset viewer.