I can't seem to find any documentation for LPTHREAD_START_ROUTINE for the C language.
I found this but it is for .NET Framework 4.5 and it is deprecated: http://msdn.microsoft.com/en-us/library/aa964928.aspx
The reason why I want to know is because I need it for CreateThread: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682453%28v=vs.85%29.aspx
LPTHREAD_START_ROUTINE
is actually documented under the name of ThreadProc
:
An application-defined function that serves as the starting address for a thread. Specify this address when calling the
CreateThread
,CreateRemoteThread
, orCreateRemoteThreadEx
function.The
LPTHREAD_START_ROUTINE
type defines a pointer to this callback function.ThreadProc
is a placeholder for the application-defined function name.
This is documented here on MSDN. It is a function pointer defined as:
typedef DWORD (__stdcall *LPTHREAD_START_ROUTINE) (
[in] LPVOID lpThreadParameter
);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With