lib-wnt.lnt
上传用户:filter2008
上传日期:2010-03-12
资源大小:2959k
文件大小:3k
源码类别:

编辑器/阅读器

开发平台:

C/C++

  1. //  lib-wnt.lnt
  2. //    PC-lint Library Options File for Windows NT
  3. -d__FLAT__
  4. -d_WIN32
  5. -emacro(506,assert)    // 506 (constant valued Boolean) is issued when
  6. // assert(e) is defined as (e||(__assert(),0))
  7. -si4
  8. -sp4
  9. -esym(14,pLocalHeap)   // variable defined in windows.h
  10. -e740   // remove 'suspicious cast' messages because these must be
  11. // routinely done within Windows.
  12. -elib(46) // windows.h uses a BYTE as base of bit field.
  13. -elib(1504)  // useless struct definition in winnt.h
  14. -elib(659)  // nothing follows '}' on same line in dlgs.h
  15. -elib(620)  // using 'l' to denote Long in mmsystem.h
  16. -elib(123)  // FD_SET is both a type and a macro (with arguments).
  17. -e793       // windows breaks ANSI limits
  18. //  the following functions have their return value typically ignored.
  19. //  add or subtract from this list as desired.
  20. -esym(534,RegisterClass,ShowWindow,TranslateMessage,DispatchMessage)
  21. -esym(534,DrawText,GetTextMetrics,ReleaseDC,TextOut,SetTextAlign)
  22. -esym(534,SetScrollPos,SelectObject,SetBkMode,SendMessage,MessageBox)
  23. -esym(534,MessageBoxA,MessageBoxW,PostMessageA,PostMessageW)
  24. -esym(534,PatBlt,DeleteDC,SetCapture,SetCursor,StretchBlt)
  25. -esym(534,Rectangle,MoveTo,LineTo,ShowCursor,MoveWindow,SetWindowWord)
  26. -esym(534,SetPixel,FillRect,DeleteObject,KillTimer,GetProfileString)
  27. -esym(534,SetWindowLong,SetFocus,SetBkColor,SetTextColor,SetBrushOrg)
  28. -esym(534,UnrealizeObject,_lclose,Polygon,FrameRect,LoadString)
  29. -esym(534,GetInstanceData,GlobalUnlock,FreeResource,LoadString)
  30. -esym(534,DrawIcon,AppendMenu,GetObject,CheckMenuItem,SetClassWord)
  31. -esym(534,EnableMenuItem,SetMenu,DestroyMenu,TrackPopupMenu)
  32. -esym(534,AnsiUpper,Arc,BeginPaint,BitBlt,ChangeClipboardChain,Chord)
  33. -esym(534,CloseClipboard,CombineRgn,DdeClientTransaction,DdeDisconnect)
  34. -esym(534,DdeFreeStringHandle,DdeGetData,DdeNameService,DdePostAdvise)
  35. -esym(534,DdeQueryString,DdeUninitialize,DeleteMenu,DeleteMetaFile)
  36. -esym(534,DestroyWindow,DialogBox,DPtoLP,Ellipse,EmptyClipboard,EnableWindow)
  37. -esym(534,EnumChildWindows,EnumWindows,Escape,GetClassName,GetDlgItemText)
  38. -esym(534,GetFileTitle,GetMenuString,GetStrings,GetSystemMenu,GetTextFace)
  39. -esym(534,GetWindowText,GlobalDeleteAtom,GlobalFree,GlobalGetAtomName)
  40. -esym(534,LocalFree,LocalUnlock,LockResource,lstrcpy,OpenClipboard)
  41. -esym(534,Pie,PlayMetaFile,PopFindNextText,PostDataMessage,PostMessage)
  42. -esym(534,RestoreDC,SaveDC,SelectClipRgn,SendDlgItemMessage,SetClipboardData)
  43. -esym(534,SetDIBitsToDevice,SetMapMode,SetMapperFlags,SetROP2,SetStretchBltMode)
  44. -esym(534,SetTextJustification,SetTimer,SetViewportExt,SetViewportOrg)
  45. -esym(534,SetWindowExt,SetWindowOrg,StretchDIBits,WinExec)
  46. //  Ignored parameters
  47. -esym(715,lpszCmdParam,lpszCmdLine)
  48. -emacro(648,PSN_*)      // ignore unsigned overflow (0-200U)