No worries, to record INP you open up the WolfMAME152 folder
inside there should be a file named "record", double click it and it will take you to the game menu then you just select D2K and its now recording.
to play in windowed mode hit "tab" \ Input (General) \ User Interface\ then scroll down trough the options till you come across "Toggle Fullscreen"
and map any key to trigger window mode.
yeah it sucks that 152 dose not have the layout of 106plus
Edit: oh and also in the WolfMAME152 folder there is "Playback" which will playback your recently recorded INP.