My reasoning for this addition is that I want to use this module in system-information such that they don't query WMIC for everything, which seems like a lot less efficient (opening a console. running a cmd. parsing the results. etc etc.) than just calling straight into the DLL with ffi.
The win32-def that is required (and you would need to bump the package.json on) is in this pull request: https://github.com/waitingsong/node-win32-def/pull/2
My reasoning for this addition is that I want to use this module in system-information such that they don't query WMIC for everything, which seems like a lot less efficient (opening a console. running a cmd. parsing the results. etc etc.) than just calling straight into the DLL with ffi.