POINT srcLoc = new POINT();
BLENDFUNCTION blend = new BLENDFUNCTION();
POINT loc = new POINT();
loc.x = win.getX();
loc.y = win.getY();
HWND hWnd = getHWnd(win);
// extract current constant alpha setting, if possible
ByteByReference bref = new ByteByReference();
IntByReference iref = new IntByReference();
byte level = getAlpha(win);
if (user.GetLayeredWindowAttributes(hWnd, null, bref, iref)