Search:
Forum
General C++ Programming
Ptr to function syntax
Ptr to function syntax
Jul 10, 2010 at 12:05am UTC
n4nature
(245)
typedef
VOID (__stdcall* PFoo)(PObject object);
Can anyone summarize what's being represented by the above syntax?
Jul 10, 2010 at 12:12am UTC
stravant
(53)
__stdcall VOID my_PFoo(PObject object) {}
would would be of the type declared there.
It declares the type PFoo to be a pointer to a function that takes a PObject, returns a VOID, and is called using the __stdcall calling convention.
Last edited on
Jul 10, 2010 at 12:13am UTC
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs