firsts steps using pinvoke