Hello here is the API written in C++:
c++ Code:
#define BMSAPI_WINDOWCAPTION "BMS Business Music System" #define WM_BMSAPI_COMMAND 0x7fff int BMSAPISendCommand(int iBMSCommand, LPARAM ExtraData) { HWND hwndBMS = FindWindowEx(NULL, NULL, NULL, BMSAPI_WINDOWCAPTION); if (hwndBMS == NULL) { // BMS not running. // Either attempt to run BMS // or spit out error message here... return 0; } return SendMessage(hwndBMS, WM_BMSAPI_COMMAND, iBMSCommand, ExtraData); }
I need it converted to Visual Basic .NET. I ran it through a converter but it wasn't very succesfull.




Reply With Quote