Ptr to function syntax

 
typedef VOID (__stdcall* PFoo)(PObject object);


Can anyone summarize what's being represented by the above syntax?
__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
Topic archived. No new replies allowed.