apnadkarni / tcl-cffi

A Foreign Function Interface extension for Tcl
BSD 2-Clause "Simplified" License
15 stars 2 forks source link

Treat INVALID_HANDLE_VALUE as pointer error and change `nullok` to `novaluechecks` #192

Closed apnadkarni closed 10 months ago

apnadkarni commented 10 months ago

CreateFile returns INVALID_HANDLE_VALUE instead of NULL so this covers that case.