例:
HANDLE ntrip_hdl = CreateThread(
NULL, // default security attributes
0, // use default stack size
ThreadNtrip, // thread function
NULL, // argument to thread function
0, // use default creation flags
NULL); // returns the thread identifier
其中,ThreadNtrip为回调函数,其定义一般为:
DWORD WINAPI ThreadNtrip(LPVOID lpParameter) { return 1;}