Values dwColorSpaceLowValue and dwColorSpaceHighValue are equal.
Transparent color returned is not true yet.
As test was setup clLime color for transparent. Structures under TDirectDrawSurface not contain similar value represented clLime or its parts

Where is error?

P.S. I am using anonymous painting with TDirectDrawSurface. I don't know from a object come TDirectDrawSurface ...