This turned out to be a simple miss...
The last parameter to the `SQLBindParameter() needs to be initialized with 0.
Thx everybody and sorry for the time waste.