Created
February 11, 2015 01:52
-
-
Save sgithens/4b1fdc5b780b43be336b to your computer and use it in GitHub Desktop.
Checking windows api constants for use in node-fi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://msdn.microsoft.com/en-us/library/windows/desktop/ms682489(v=vs.85).aspx | |
| // TH32CS_SNAPALL | |
| // Includes all processes and threads in the system, plus the heaps and modules of | |
| // the process specified in th32ProcessID. Equivalent to specifying the | |
| // TH32CS_SNAPHEAPLIST, TH32CS_SNAPMODULE, TH32CS_SNAPPROCESS, and | |
| // TH32CS_SNAPTHREAD values combined using an OR operation ('|'). | |
| var TH32CS_SNAPHEAPLIST = 0x00000001; | |
| var TH32CS_SNAPMODULE = 0x00000008; | |
| var TH32CS_SNAPPROCESS = 0x00000002; | |
| var TH32CS_SNAPTHREAD = 0x00000004; | |
| var TH32CS_SNAPALL = TH32CS_SNAPHEAPLIST | TH32CS_SNAPMODULE | | |
| TH32CS_SNAPPROCESS | TH32CS_SNAPTHREAD; | |
| console.log(TH32CS_SNAPALL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment