if ( msg == WM_COPYDATA ) {  COPYDATASTRUCT *cds = (COPYDATASTRUCT*)lp; DosGetSharedMem( (PVOID)cds, PAG_READ|PAG_WRITE ); #if MOZ_DEBUG_DDE printf( "Incoming request: %s\n", (const char*)cds->lpData ); #endif (void)nsNativeAppSupportOS2::HandleRequest( (LPBYTE)cds->lpData ); }
if ( msg != WM_COPYDATA ) return (MRESULT)TRUE;
    static MRESULT EXPENTRY WindowProc( HWND msgWindow, ULONG msg, MPARAM wp,                                         MPARAM lp )    {        MRESULT rc = (MRESULT)TRUE;        if ( msg == WM_COPYDATA ) {            // This is an incoming request.            COPYDATASTRUCT *cds = (COPYDATASTRUCT*)lp;            DosGetSharedMem( (PVOID)cds, PAG_READ|PAG_WRITE );#if MOZ_DEBUG_DDE            printf( "Incoming request: %s\n", (const char*)cds->lpData );#endif            (void)nsNativeAppSupportOS2::HandleRequest( (LPBYTE)cds->lpData ); }    /* We have to return a FALSE from WM_CREATE or this window will never     * get off of the ground     */    else if ( msg == WM_CREATE ) {        rc = (MRESULT)FALSE;    }    return rc;}