Qui ci sono le API che ti servono, ma credo che utilizzarle da VB6 sia un incubo.
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum