/win32const

Primary LanguageRubyMIT LicenseMIT

This repo is used to do search on *.h files.

It works with TDM-GCC and ctags. Make sure gcc.exe and ctags.exe are in the PATH.

Usage

> ruby win32const.rb RGB
dxvahd.h:46        DXVAHD_COLOR_RGBA   RGB;
wingdi.h:1395  #define RGB(r,g,b) ((COLORREF)(((BYTE)(r)|((WORD)((BYTE)(g))<<8))|(((DWORD)(BYTE)(b))<<16)))
> ruby win32const.rb POINT
windef.h:92    } POINT,*PPOINT,*NPPOINT,*LPPOINT;
windef.h:89
typedef struct tagPOINT {
  LONG x;
  LONG y;
} POINT,*PPOINT,*NPPOINT,*LPPOINT;

See Also

License

The MIT License.