FIRST: #include “Windows/AllowWindowsPlatformTypes.h” #include #include “Windows/HideWindowsPlatformTypes.h”
THEN: SendMessageA(m_hCamMoudle, WM_CLOSE, 0, 0); or SendMessageW(m_hCamMoudle, WM_CLOSE, 0, 0);