Passing Bitmap as parameter to DLL



I have a Delphi DLL and I would like to pass a TBitmap as a parameter. How do I go about doing this and especially how to create and free it without problems? Any help is greatly appreciated.

Andy

.