you find out

it's WM_CLOSE

the value is &H10

Private Const WM_CLOSEWINDOW = &H10



Use the API viewer