gpt4 book ai didi

c - 什么是 LPTHREAD_START_ROUTINE?

转载 作者:太空狗 更新时间:2023-10-29 17:11:53 26 4
gpt4 key购买 nike

我似乎找不到 C 语言的 LPTHREAD_START_ROUTINE 的任何文档。

我找到了这个,但它适用于 .NET Framework 4.5 并且已弃用:http://msdn.microsoft.com/en-us/library/aa964928.aspx

之所以想知道是因为CreateThread需要它:http://msdn.microsoft.com/en-us/library/windows/desktop/ms682453%28v=vs.85%29.aspx

最佳答案

LPTHREAD_START_ROUTINE 实际上记录在 ThreadProc 的名称下:

An application-defined function that serves as the starting address for a thread. Specify this address when calling the CreateThread, CreateRemoteThread, or CreateRemoteThreadEx function.

The LPTHREAD_START_ROUTINE type defines a pointer to this callback function. ThreadProc is a placeholder for the application-defined function name.

关于c - 什么是 LPTHREAD_START_ROUTINE?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19472837/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com