GetDC + copy multiple forms to bitmap


Suppose I have a project with 2 forms (TForm1 and TForm2) which are
completely different.
I do have a function (defined in TForm1) that converts a TForm1 to a bitmap.
However, is it possible to make this function generable and pass the form
instead of defining it in both TForm1 and TForm2.  Or in other words, can I
pass the form in some way to the function GetDC???

void TForm1::moveFormToBitmap()
    Graphics::TBitmap* Bitmap = new Graphics::TBitmap();
    HDC HScreenDC = GetDC(0);
    Bitmap->Handle =
    ...... and so on ....


Thanx in advance ...