Exemplo n.º 1
0
            int HandleMAMEStart(Message msg)
            {
                HandleToMAMEWindow = msg.WParam;

                Reset_id_to_outname_cache();

                // register ourselves as a client
                OSUtilities.PostMessage(HandleToMAMEWindow, OM_MAME_REGISTER_CLIENT, HandleOfListener, (IntPtr)WinMsgUtils.CLIENT_ID);
                //WinMsgUtils.SendMessage(mame_target, om_mame_register_client, listener_hwnd, (IntPtr)WinMsgUtils.CLIENT_ID);

                // get the game name
                Map_id_to_outname(IntPtr.Zero);

                return(0);
            }