node-ffi-napi / ref-napi

Turn Buffer instances into "pointers"
MIT License
123 stars 67 forks source link

Suggestion: Add aliases in `types`, `alignof` and `sizeof` for Windows data types #58

Open rbuckton opened 3 years ago

rbuckton commented 3 years ago

This would be useful when consuming Windows APIs when working with Windows API documentation.

A list of Windows data types can be found here:

brandonros commented 3 years ago

Another: It would really help me if I could specify pointer4 versus pointer8 for when you have to call into 32-bit DLLs in a 64-bit program.

Kreijstal commented 2 years ago

would be nice if you could add things like wchar_t as well.