problems getting windows id

Why do I get :

Code:
17:53:19.014 T:3664   DEBUG: Bluray iso utils: Main imdb ID test button pushed
17:53:19.014 T:3664   DEBUG: Bluray iso utils: win id = <built-in function getCurrentWindowId>
17:53:19.014 T:3664   DEBUG: Bluray iso utils: windialog id = <built-in function getCurrentWindowDialogId>

When using:

Code:
log("Main imdb ID test button pushed")
wid = xbmcgui.getCurrentWindowId
log("win id = %s" % wid)
wid = xbmcgui.getCurrentWindowDialogId
log("windialog id = %s" % str(wid))

Shouldn’t I be getting some integer? Instead I get “<built-in function getCurrentWindowId>”??

What am I doing wrong?

Edit: Never mind, I’m stupid. using xbmcgui.getCurrentWindowId() works…