propsend.h

来自「最近在学习directshow, Directshow实务精选的源代码」· C头文件 代码 · 共 104 行

H
104
字号

/*++

    Copyright (c) 2000  Microsoft Corporation.  All Rights Reserved.

    Module Name:

        propsend.h

    Abstract:


    Notes:

--*/


#ifndef __propsend_h
#define __propsend_h

/*++
    Class Name:

        CNetSendProp

    Abstract:

        This class is used to gather & post data from/to the property page.

    Author:

        Matthijs Gates  (mgates)

    Revision History:

        30-Oct-2000      mgates      created

--*/
class CNetSendProp :
    public CBasePropertyPage
{
    HWND                m_hwnd ;                    //  property page HWND
    IMulticastConfig *  m_pIMulticastConfig ;       //  interface pointer

    //  called when the "save" button is pressed
    HRESULT
    OnSave_ (
        ) ;

    //  refreshes the property page contents with valid properties
    void
    Refresh_ (
        ) ;

    public :

        CNetSendProp (
            IN  TCHAR *     pClassName,
            IN  IUnknown *  pIUnknown,
            IN  REFCLSID    rclsid,
            OUT HRESULT *   pHr
            ) ;

        HRESULT
        OnActivate (
            ) ;

        HRESULT
        OnApplyChanges (
            ) ;

        HRESULT
        OnConnect (
            IN  IUnknown *  pIUnknown
            ) ;

        HRESULT
        OnDeactivate (
            ) ;

        HRESULT
        OnDisconnect (
            ) ;

        BOOL
        OnReceiveMessage (
            IN  HWND    hwnd,
            IN  UINT    uMsg,
            IN  WPARAM  wParam,
            IN  LPARAM  lParam
            ) ;

        DECLARE_IUNKNOWN ;

        static
        CUnknown *
        WINAPI
        CreateInstance (
            IN  IUnknown *  pIUnknown,
            IN  HRESULT *   pHr
            ) ;
} ;

#endif  //  __propsend_h

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?