AfxDoForAllClasses
Visual Studio 2010
Calls the specified iteration function for all serializable CObject-derived classes in the application's memory space.
void AFXAPI AfxDoForAllClasses( void (*pfn )(const CRuntimeClass* pClass, void* pContext ), void* pContext );
Points to an iteration function to be called for each class. The function arguments are a pointer to a CRuntimeClass object and a void pointer to extra data that the caller supplies to the function.
Points to optional data that the caller can supply to the iteration function. This pointer can be NULL.
Note