The parameter block version is set in the ParamBlockDesc2 constructor as follows:
static ParamBlockDesc2 test_param_blk ( test_params, _T("params"), P_VERSION, &TestClassDesc, P_VERSION + P_AUTO_CONSTRUCT + P_AUTO_UI, VERSION_CURRENT, PBLOCK_REF, //reference number IDD_PANEL, IDS_PARAMS, 0, 0, NULL, //rollout ...
The current version of a parameter block can be retrieved using IParamBlock2::GetVersion().
Getting a previous version is done in a post-load call back using IParamBlock2PostLoadInfo::GetVersion().