Oh, almost forgot...

In the C or C++ implementation for MyProc():

#include <myapi.h>
...
BOOL FUNCPREFIX MyProc(int)
{
...
}

Regards,

Paul McKenzie