Get current program's number

Entry:
AX = DE07h

Return:
AX = number of program as it appears on the "Switch Windows" menu