Changeset 1038 for trunk/dll/notify.c


Ignore:
Timestamp:
Jul 4, 2008, 10:33:59 PM (17 years ago)
Author:
Gregg Young
Message:

More fortify cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notify.c

    r1009 r1038  
    3535#include "strutil.h"                    // GetPString
    3636#include "fm3dll.h"
     37#include "fortify.h"
    3738
    3839#pragma data_seg(DATA1)
     
    432433{
    433434  HAB hab = WinInitialize(0);
    434 
     435# ifdef FORTIFY
     436  Fortify_EnterScope();
     437# endif
    435438  if (hab) {
    436439    HMQ hmq = WinCreateMsgQueue(hab, 0);
     
    444447    WinTerminate(hab);
    445448  }
     449# ifdef FORTIFY
     450    Fortify_LeaveScope();
     451# endif
    446452}
    447453
     
    544550}
    545551
    546 #pragma alloc_text(NOTIFY,Notify,NotifyWndProc,StartNotify)
    547 #pragma alloc_text(NOTIFY,NotifyThread,NotifyError)
     552#pragma alloc_text(NOTIFY,Notify,NotifyWndProc,StartNotify,NotifyError)
    548553#pragma alloc_text(NOTIFY2,AddNote,NoteThread,NoteWndProc)
    549554#pragma alloc_text(NOTIFY3,StartNotes,EndNote,HideNote,ShowNote)
Note: See TracChangeset for help on using the changeset viewer.