📄 interfacecontrol.h
字号:
/*+++ *******************************************************************\
*
* Copyright and Disclaimer:
*
* ---------------------------------------------------------------
* This software is provided "AS IS" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of noninfringement, merchantability and/or
* fitness for a particular purpose.
* ---------------------------------------------------------------
*
* Copyright (c) 2008 Conexant Systems, Inc.
* All rights reserved.
*
\******************************************************************* ---*/
#ifndef _INTERFACE_CONTROL_H_
#define _INTERFACE_CONTROL_H_
// {05EA6F6B-3B1E-4958-A68D-A37F0B6A2995}
static const GUID INTERFACE_CONTROL_PAGE_GUID =
{ 0x05ea6f6b, 0x3b1e, 0x4958, { 0xa6, 0x8d, 0xa3, 0x7f, 0xb, 0x6a, 0x29, 0x95 } };
class InterfaceControl : public CBasePropertyPage
{
public:
InterfaceControl(LPUNKNOWN lpunk, HRESULT *phr);
static CUnknown * WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);
DECLARE_IUNKNOWN;
private:
INT_PTR OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
HRESULT OnConnect(IUnknown *pUnknown);
HRESULT OnDisconnect();
HRESULT OnActivate();
HRESULT OnApplyChanges();
void SetDirty();
void FillListBox();
private:
IKsPropertySet *_p_property_set; // Pointer to the property set interface
}; // class InterfaceControl
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -