亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mwinsite.cpp

?? symbian 下的helix player源代碼
?? CPP
字號:
/* ***** BEGIN LICENSE BLOCK *****
 * Source last modified: $Id: mwinsite.cpp,v 1.3.20.1 2004/07/09 01:59:19 hubbe Exp $
 * 
 * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
 * 
 * The contents of this file, and the files included with this file,
 * are subject to the current version of the RealNetworks Public
 * Source License (the "RPSL") available at
 * http://www.helixcommunity.org/content/rpsl unless you have licensed
 * the file under the current version of the RealNetworks Community
 * Source License (the "RCSL") available at
 * http://www.helixcommunity.org/content/rcsl, in which case the RCSL
 * will apply. You may also obtain the license terms directly from
 * RealNetworks.  You may not use this file except in compliance with
 * the RPSL or, if you have a valid RCSL with RealNetworks applicable
 * to this file, the RCSL.  Please see the applicable RPSL or RCSL for
 * the rights, obligations and limitations governing use of the
 * contents of the file.
 * 
 * Alternatively, the contents of this file may be used under the
 * terms of the GNU General Public License Version 2 or later (the
 * "GPL") in which case the provisions of the GPL are applicable
 * instead of those above. If you wish to allow use of your version of
 * this file only under the terms of the GPL, and not to allow others
 * to use your version of this file under the terms of either the RPSL
 * or RCSL, indicate your decision by deleting the provisions above
 * and replace them with the notice and other provisions required by
 * the GPL. If you do not delete the provisions above, a recipient may
 * use your version of this file under the terms of any one of the
 * RPSL, the RCSL or the GPL.
 * 
 * This file is part of the Helix DNA Technology. RealNetworks is the
 * developer of the Original Code and owns the copyrights in the
 * portions it created.
 * 
 * This file, and the files included with this file, is distributed
 * and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS
 * ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
 * ENJOYMENT OR NON-INFRINGEMENT.
 * 
 * Technology Compatibility Kit Test Suite(s) Location:
 *    http://www.helixcommunity.org/content/tck
 * 
 * Contributor(s):
 * 
 * ***** END LICENSE BLOCK ***** */

#include "minisite.h"
#include "mwinsite.h"
#include "hlxosstr.h"

char*   CHXWinSite::zm_pszWindowClassName   = "HXWinVideoClass";
char*   CHXWinSite::zm_pszWindowName        = "HXWinVideoWindow";
INT32   CHXWinSite::zm_nInstanceCount       = 0;

/************************************************************************
 *  Function:
 *    CHXWinSiteWindowedProc
 */
LRESULT HXEXPORT CHXWinSiteWindowedProc
(
    HWND hWnd,
    UINT message,
    WPARAM uParam,
    LPARAM lParam
    )
{
    return (DefWindowProc(hWnd, message, uParam, lParam));
}

/************************************************************************
 *  Method:
 *    Constructor
 */
CHXWinSite::CHXWinSite(IUnknown* pContext, IUnknown* pUnkOuter, INT32 lZorder)
 :  CMiniBaseSite(pContext, pUnkOuter, lZorder)
{
}


/************************************************************************
 *  Method:
 *    Destructor
 */
CHXWinSite::~CHXWinSite()
{                   
}


/************************************************************************
 *  Method:
 *    IHXSiteWindowed::Create
 */
void* 
CHXWinSite::_Create(void* ParentWindow, UINT32 style)
{
    /*
     * Make sure the window class is registered.
     */
	OS_STRING_TYPE osstrWindowClassName(zm_pszWindowClassName);

    if (0 == zm_nInstanceCount)
    {
        WNDCLASS wndClass;
        
        wndClass.style = 0; 
        wndClass.lpfnWndProc = CHXWinSiteWindowedProc; 
        wndClass.cbClsExtra = 0; 
        wndClass.cbWndExtra = 0; 
        wndClass.hInstance = GetModuleHandle(NULL);
        wndClass.hIcon = NULL; 
        wndClass.hCursor = NULL; 
        wndClass.hbrBackground = NULL;
        wndClass.lpszMenuName = NULL; 
        wndClass.lpszClassName = osstrWindowClassName; 
        
        ::RegisterClass(&wndClass);
    }
    
    zm_nInstanceCount++;
    
    HWND hWnd = CreateWindowEx(NULL,
                               OS_STRING(zm_pszWindowClassName), 
                               OS_STRING(zm_pszWindowName), 
                               style, 
                               0, 
                               0,
                               0,
                               0,
                               (HWND)ParentWindow, 
                               NULL, 
                               GetModuleHandle(NULL), 
                               NULL);
    
    return hWnd;
}

/************************************************************************
 *  Method:
 *    IHXSiteWindowed::Destroy
 */
void 
CHXWinSite::_Destroy(HXxWindow* pWindow) 
{
    BOOL retVal = ::DestroyWindow((HWND) pWindow->window);
    
    if (zm_nInstanceCount > 0)
    {
        zm_nInstanceCount--;
    }
    
    if (0 == zm_nInstanceCount)
    {
        ::UnregisterClass(OS_STRING(zm_pszWindowClassName), GetModuleHandle(NULL));
    }
}

void
CHXWinSite::_SetSize(HXxSize size)
{
    /*
     * Change the size of the window using platform specific calls.
     * Note: the size being requested is the "client" size for the
     * window, so we need to actually determine the outer rect size.
     * We do this by getting the current window rect and client rect,
     * the difference is the "extra" size associated with any window
     * dressing.
     */
    HWND tempHwnd = (HWND) GetWindow()->window;
    RECT rect1,
         clientRect;
    ::GetWindowRect(tempHwnd,&rect1);  
    ::GetClientRect(tempHwnd, &clientRect);

    // Make the window's client size equal to the video's size
    int nWidthDelta = (rect1.right - rect1.left) -
                      (clientRect.right - clientRect.left);

    int nHeightDelta = (rect1.bottom - rect1.top) -
                       (clientRect.bottom - clientRect.top); 


    MapWindowPoints(NULL, GetParent(tempHwnd), (POINT*)&rect1, 2);
    _MoveWindow(tempHwnd,
                (int)rect1.left, (int)rect1.top,
                (int)size.cx + nWidthDelta,
                (int)size.cy + nHeightDelta,
                TRUE);
}

void CHXWinSite::_SetPosition(HXxPoint position)
{
    //Since I just flattened the window structure this function has to
    //me modified to take that into account.
    if(m_pWindow->window && !m_bWindowCreatedByCreate)
    {
        //_MoveWindow((HWND)m_pWindow->window,
        //            (int)m_topleft.x,
        //            (int)m_topleft.y,
        //            (int)m_size.cx ,
        //            (int)m_size.cy ,
        //            TRUE);
    }
    else
    {
        _MoveWindow((HWND) GetWindow()->window,
                    (int)position.x,
                    (int)position.y,
                    (int)m_size.cx ,
                    (int)m_size.cy ,
                    TRUE);
    }
}

BOOL CHXWinSite::_MoveWindow( void* win,
                              INT32 X,
                              INT32 Y,
                              INT32 nWidth,
                              INT32 nHeight,
                              BOOL bRepaint)
{
    return ::MoveWindow((HWND)win,X,Y,nWidth,nHeight,bRepaint);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99久久er热在这里只有精品15| 欧美日韩中文精品| 欧美视频在线一区二区三区 | 亚洲国产视频一区二区| 一区二区三区美女视频| 国产免费观看久久| 国内精品国产三级国产a久久| 91免费视频网址| 久久久久久久久久久久久女国产乱 | 欧美一区二区精品在线| 婷婷丁香激情综合| 欧美日韩的一区二区| 日韩精品一二区| 538在线一区二区精品国产| 香蕉av福利精品导航| 欧美高清视频一二三区| 日韩激情av在线| 日韩一区二区免费电影| 天天av天天翘天天综合网| 91麻豆精品国产91久久久更新时间| 天天av天天翘天天综合网 | 欧美日韩亚洲丝袜制服| 成人激情小说网站| 欧美一二三四在线| 久久se精品一区精品二区| 欧美成人在线直播| 国产精品1区2区3区| 国产精品久久一卡二卡| 91在线高清观看| 亚洲成人7777| 精品国产百合女同互慰| 国产成人在线视频网址| 中文字幕一区二区在线观看| 在线视频中文字幕一区二区| 一区二区三区成人在线视频| 欧美精品高清视频| 久久se精品一区二区| 欧美激情在线一区二区三区| 色婷婷综合激情| 蜜臀av一区二区三区| 亚洲国产高清aⅴ视频| 色综合久久99| 六月丁香婷婷久久| 亚洲男人的天堂在线观看| 在线播放欧美女士性生活| 亚洲在线观看免费| www一区二区| 丰满亚洲少妇av| 亚洲综合一区二区| 制服视频三区第一页精品| 蜜桃视频免费观看一区| 国产精品国产三级国产a | 欧美性猛交xxxx乱大交退制版| 日韩制服丝袜av| 国产精品福利一区| 日韩三级视频中文字幕| av成人免费在线| 免费成人av资源网| 亚洲免费观看视频| 久久伊人中文字幕| 欧美亚州韩日在线看免费版国语版| 久久99精品久久只有精品| 亚洲美女屁股眼交| 国产嫩草影院久久久久| 日韩一区二区精品| 久久久噜噜噜久久人人看 | 国产v综合v亚洲欧| 午夜久久久久久| 91精品欧美综合在线观看最新| 国产一区美女在线| 五月天精品一区二区三区| 中文字幕一区免费在线观看| 日韩一区二区三区视频| 色就色 综合激情| 岛国精品在线观看| 韩日精品视频一区| 日韩激情av在线| 一区二区三区在线观看视频| 日本中文字幕一区二区视频| 亚洲品质自拍视频网站| 国产婷婷色一区二区三区四区 | 亚洲综合精品久久| 色综合久久88色综合天天免费| 国产九九视频一区二区三区| 肉色丝袜一区二区| 一区二区三区不卡在线观看| 中文成人av在线| 国产日韩欧美一区二区三区乱码| 欧美日韩你懂得| 91小视频在线免费看| 成人在线视频首页| 国产一区二区三区四区在线观看| 久久精品99久久久| 日本视频一区二区| 免费成人在线网站| 首页国产丝袜综合| 青青国产91久久久久久 | www.66久久| 福利一区福利二区| 成人综合在线视频| av亚洲产国偷v产偷v自拍| 成人午夜在线免费| 国产精品色婷婷久久58| 精品久久国产老人久久综合| 欧美一级二级三级蜜桃| 欧美一二三在线| 2023国产精品自拍| 久久午夜羞羞影院免费观看| 久久亚洲精华国产精华液| 精品乱人伦小说| xfplay精品久久| 欧美国产一区视频在线观看| 26uuu亚洲| 亚洲高清视频在线| 亚洲国产欧美在线人成| 日韩精品欧美精品| 麻豆freexxxx性91精品| 国产激情一区二区三区四区| 成人久久18免费网站麻豆| av在线综合网| 亚洲一区二区3| 欧美日韩亚洲高清一区二区| jlzzjlzz亚洲女人18| 一本大道久久a久久精品综合| 色综合久久中文字幕| 色老头久久综合| 欧美一区二区三区小说| 久久新电视剧免费观看| 久久se精品一区精品二区| 午夜欧美在线一二页| 日本vs亚洲vs韩国一区三区二区| 精品一区二区三区免费毛片爱| 国产寡妇亲子伦一区二区| 99久久99久久免费精品蜜臀| 欧美精品在线一区二区三区| 久久免费午夜影院| 亚洲黄网站在线观看| 男人操女人的视频在线观看欧美| 激情欧美日韩一区二区| 一本大道av伊人久久综合| 欧美疯狂性受xxxxx喷水图片| 欧美sm美女调教| 亚洲女人小视频在线观看| 麻豆一区二区99久久久久| av午夜一区麻豆| 日韩一区二区三区四区五区六区 | 中文文精品字幕一区二区| 国产精品久久久久久久久免费相片| 亚洲韩国一区二区三区| 久久草av在线| 欧美日韩国产综合草草| 亚洲欧美日韩系列| 欧美午夜片在线看| 欧美高清在线一区| 国产中文一区二区三区| 欧美一区二区三级| 婷婷六月综合网| 欧美日韩一区二区在线观看 | 日韩一区二区三区四区| 一区二区三区欧美日韩| 不卡视频一二三| 久久婷婷成人综合色| 精品亚洲porn| 欧美成人video| 琪琪一区二区三区| 91麻豆精品91久久久久同性| 亚洲国产另类av| 欧美午夜影院一区| 亚洲第一会所有码转帖| 欧洲av一区二区嗯嗯嗯啊| 亚洲夂夂婷婷色拍ww47| 91麻豆国产精品久久| 自拍偷自拍亚洲精品播放| www..com久久爱| 中文字幕的久久| 不卡影院免费观看| 亚洲色图在线看| 91老司机福利 在线| 一区二区三区在线观看国产| 国产午夜亚洲精品午夜鲁丝片 | 欧美午夜精品久久久久久超碰 | 久久精品亚洲乱码伦伦中文 | eeuss鲁片一区二区三区| 国产精品国产三级国产aⅴ原创 | 麻豆精品精品国产自在97香蕉 | 欧美人体做爰大胆视频| 午夜精品福利在线| 日韩欧美一二三| 国产精品一区二区黑丝| 国产精品网站一区| 色88888久久久久久影院按摩| 亚洲成人午夜影院| 日韩视频不卡中文| 成人一区二区三区视频| 亚洲视频一二三| 88在线观看91蜜桃国自产| 国内一区二区在线| 中文字幕一区二区三区av| 欧美天堂亚洲电影院在线播放| 久久精品国产77777蜜臀|