Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 C GetProductString(DWORD DeviceNum,LPVOID DeviceString,DWORD 选项)中有一个函数。我如何在JNA中调用它?
如果您在映射时遇到问题LPVOID,很可能是 achar*或 a wchar*。您还缺少返回值类型,因此请考虑获取完整的函数签名。
LPVOID
char*
wchar*
需要更多信息以提供进一步帮助。