📄 propsend.h
字号:
/*++
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -