How Can I Declare GetMessageA and TranslateMessageA API function as it has an reference argument of type msg and in powerbuilder there is no such any msg datatype. It is saying "Illegal data type msg".
Actual declaration of API function is
FUNCTION ulong GetMessage(ref Msg lpMsg,ulong hwnd,ulong wMsgFilterMin,ulong wMsgFilterMax) LIBRARY "user32.dll" ALIAS FOR "GetMessageA"
FUNCTION ulong TranslateMessage(ref Msg lpMsg) LIBRARY "user32.dll"
Any help please ?
Actual declaration of API function is
FUNCTION ulong GetMessage(ref Msg lpMsg,ulong hwnd,ulong wMsgFilterMin,ulong wMsgFilterMax) LIBRARY "user32.dll" ALIAS FOR "GetMessageA"
FUNCTION ulong TranslateMessage(ref Msg lpMsg) LIBRARY "user32.dll"
Any help please ?