Invalid Service Callback Entrypoint} The %hs service is not written correctly. The stack pointer has been left in an inconsistent ...

{Invalid Service Callback Entrypoint}
The %hs service is not written correctly. The stack pointer has been left in an inconsistent state. The callback entrypoint should be declared as WINAPI or STDCALL. Selecting OK will cause the service to continue operation. However, the service process may operate incorrectly.