I tried that earlier and it didn't make a difference, so I figured I didn't need it. In either case, the 32-bit API still doesn't compile, and is red...
Option Explicit
#If VBA7 Then
Private Declare PtrSafe Function LockWindowUpdate Lib "user32" (ByVal hwndLock As LongPtr) As LongPtr
#Else
Private Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long
#End If
Sub TestingAPI()
#If VBA7 Then
Dim VBEhWnd As LongPtr
#Else
Dim VBEhWnd As Long
#End If
VBEhWnd = Application.VBE.MainWindow.hWnd
LockWindowUpdate (VBEhWnd)
LockWindowUpdate (0&)
End Sub