Size of LVM header in non bootable disk

hi,
i have a query regarding the size of the LVM header. Since the LVM header of a bootable disk is always 2912KB. The header size of a non bootable disk is not fixed. In Bootable disk after the LVM header (2912 KB=5824 sectors)the user data starts or we can say LV extents starts.
If i extend any Logical volume from bootable disk to my 2nd hdd of the same VG. suppose i increase the size of /home LV 2GB to 5GB and it extended on the new hdd which i attatched on my machine.

If on PV1 512 PE(4MB) resides and remaining PE resides on 2nd hdd.
How i can trverse on the 2nd hdd from where my 513th extent start?
I am developing a C++ module that for this.
Please guide me how i can get this information.

Regards
Sandy