add getWinId for DWindow

Change-Id: I3469d9ef62c161d176a542fbb60acf7e2acc203f