__cdecl * _PVFV代表什么? [英] What does __cdecl *_PVFV stands for?
本文介绍了__cdecl * _PVFV代表什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨朋友们,
我实际上在Visual C ++中学习了一些新东西,我在其中一个文件中遇到了代码。
Hi Friends,
I was actually lerning some new stuffs in Visual C++ and I come across a code in one of the file.
typedef void (__cdecl *_PVFV)(void);
我明白代码是MSVC ++特定的,我必须看一些好的预订,但暂时,请您就_PVFV是什么给我一个满意的答案?我也看了_PIFV ......请帮我解决这个问题....我将非常感谢你。
有问候
Tushar Srivastava
I understand that the code is MSVC++ specific and I have to look at some good book but for the time being, can you please provide me with a satisfactory answer about what the _PVFV is? I also have looked at _PIFV... Please help me regarding this.... I will be vey much thank ful to you.
With Regards
Tushar Srivastava
推荐答案
这是一个函数指针宣言。typedef void(* _PVFV)(void);
将_PVFV
定义为函数指针类型。__ cdecl
关键字用于定义函数的调用约定以使用C 调用惯例 [ ^ ]。
This is a function pointer declaration.typedef void (*_PVFV)(void);
defines_PVFV
as a function pointer type. The__cdecl
keyword is there to define the calling convention of the function to use C calling convention[^].
函数指针typedef
s可能看起来有点'深奥'。你可能会发现有趣的这个Stack Overflow
问题:了解C中函数指针的typedef:示例,提示和技巧,请 [ ^ ]
Function pointertypedef
s may look a bit 'esoteric'. You may find interesting thisStack Overflow
question: "Understanding typedefs for function pointers in C: Examples, hints and tips, please"[^]
这篇关于__cdecl * _PVFV代表什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文