📄 actskin4.tlh
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (894af591).
//
// actskin4.tlh
//
// C++ source equivalent of Win32 type library actskin4.ocx
// compiler-generated file created 05/17/06 at 16:06:52 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
namespace ACTIVESKINLib {
//
// Forward references and typedefs
//
struct __declspec(uuid("750fc67c-0311-4391-9864-a2efed49bd28"))
/* dual interface */ ISkin;
struct __declspec(uuid("6a5905c9-0bdd-49fb-9c45-cbb450d3bfd5"))
/* interface */ ISkinObject;
struct __declspec(uuid("4518c2dd-0ce0-4b00-ba96-78da09b52835"))
/* interface */ ISkinImages;
struct __declspec(uuid("1f8bb9f7-eba0-4ac5-8980-fb4e872ba057"))
/* interface */ ISkinImage;
struct SkinImageInfo;
struct SkinRect;
struct SkinRGB;
struct SkinTextStyle;
struct SkinARGB;
struct SkinPoint;
struct SkinImageSection;
struct __declspec(uuid("9a94fefa-fb88-4035-a82e-2558453e9ca7"))
/* interface */ ISkinSounds;
struct __declspec(uuid("13dec2bc-e177-408e-8661-33c03d2fc5cf"))
/* interface */ ISkinWindow;
struct __declspec(uuid("b9bb72d9-129f-43e2-9439-d3dce178aaca"))
/* interface */ ISkinVisual;
struct SkinSize;
struct __declspec(uuid("0de7b785-523b-4f72-a1a7-82c522de7eca"))
/* interface */ ISkinButton;
struct SkinButtonState;
struct SkinTransitionKey;
struct SkinLogFont;
struct SkinEvent;
struct __declspec(uuid("71ffa107-492e-4f12-98ae-92f33d558d15"))
/* interface */ ISkinForm;
struct SkinFormFrame;
struct SkinMenuBar;
struct SkinPopupMenu;
struct SkinImageRect;
struct __declspec(uuid("1dcf562c-3485-4bbc-8079-0ad4541529df"))
/* interface */ ISkinRadio;
struct SkinRadioState;
struct __declspec(uuid("8ed42b58-bde7-4a08-bd2e-0b7b02159e90"))
/* interface */ ISkinStatic;
struct __declspec(uuid("efdde869-6050-46be-98a7-d81242b5a666"))
/* interface */ ISkinScrollBar;
struct SkinScrollBarState;
struct __declspec(uuid("7a05a7e2-d1a7-4735-abfe-f21c70aed084"))
/* interface */ ISkinTab;
struct __declspec(uuid("af69af39-694c-4d15-a7a2-a7e0f2f4b0b9"))
/* interface */ ISkinFrame;
struct SkinPlasmaChannel;
struct __declspec(uuid("e8aa7229-3c9e-45ee-80c3-3c3d415eb5bc"))
/* interface */ ISkinAnimation;
struct __declspec(uuid("f3fc950c-7583-4377-bad8-efbeaa33273c"))
/* dispinterface */ _ISkinEvents;
struct __declspec(uuid("358f246b-3a71-481b-8cec-0da1e9038bc1"))
/* interface */ ISkinFireEvents;
struct __declspec(uuid("299b492b-04e3-4648-8a42-5e6e5e2daa8e"))
/* interface */ ISkinFreeForm;
struct __declspec(uuid("ab239f28-f8ad-4c96-94d8-4611d553d269"))
/* interface */ ISkinPlasma;
struct __declspec(uuid("4921908c-7090-4d37-a6b3-fc447f08378a"))
/* dual interface */ ISkinLabel;
struct __declspec(uuid("4820cd81-5043-4c9c-9cbb-0ab5a1c6aec8"))
/* interface */ ISkinMiscControls;
struct /* coclass */ Skin;
struct /* coclass */ SkinImage;
struct /* coclass */ SkinButton;
struct /* coclass */ SkinStatic;
struct /* coclass */ SkinFrame;
struct /* coclass */ SkinForm;
struct /* coclass */ SkinTab;
struct /* coclass */ SkinScrollBar;
struct /* coclass */ SkinRadio;
struct /* coclass */ SkinFreeForm;
struct /* coclass */ SkinPlasma;
struct /* coclass */ SkinLabel;
struct /* coclass */ SkinMiscControls;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(ISkin, __uuidof(ISkin));
_COM_SMARTPTR_TYPEDEF(ISkinObject, __uuidof(ISkinObject));
_COM_SMARTPTR_TYPEDEF(ISkinImages, __uuidof(ISkinImages));
_COM_SMARTPTR_TYPEDEF(ISkinImage, __uuidof(ISkinImage));
_COM_SMARTPTR_TYPEDEF(ISkinSounds, __uuidof(ISkinSounds));
_COM_SMARTPTR_TYPEDEF(ISkinWindow, __uuidof(ISkinWindow));
_COM_SMARTPTR_TYPEDEF(ISkinVisual, __uuidof(ISkinVisual));
_COM_SMARTPTR_TYPEDEF(ISkinButton, __uuidof(ISkinButton));
_COM_SMARTPTR_TYPEDEF(ISkinForm, __uuidof(ISkinForm));
_COM_SMARTPTR_TYPEDEF(ISkinRadio, __uuidof(ISkinRadio));
_COM_SMARTPTR_TYPEDEF(ISkinStatic, __uuidof(ISkinStatic));
_COM_SMARTPTR_TYPEDEF(ISkinScrollBar, __uuidof(ISkinScrollBar));
_COM_SMARTPTR_TYPEDEF(ISkinTab, __uuidof(ISkinTab));
_COM_SMARTPTR_TYPEDEF(ISkinFrame, __uuidof(ISkinFrame));
_COM_SMARTPTR_TYPEDEF(ISkinAnimation, __uuidof(ISkinAnimation));
_COM_SMARTPTR_TYPEDEF(_ISkinEvents, __uuidof(IDispatch));
_COM_SMARTPTR_TYPEDEF(ISkinFireEvents, __uuidof(ISkinFireEvents));
_COM_SMARTPTR_TYPEDEF(ISkinFreeForm, __uuidof(ISkinFreeForm));
_COM_SMARTPTR_TYPEDEF(ISkinPlasma, __uuidof(ISkinPlasma));
_COM_SMARTPTR_TYPEDEF(ISkinLabel, __uuidof(ISkinLabel));
_COM_SMARTPTR_TYPEDEF(ISkinMiscControls, __uuidof(ISkinMiscControls));
//
// Type library items
//
struct __declspec(uuid("750fc67c-0311-4391-9864-a2efed49bd28"))
ISkin : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall Empty ( ) = 0;
virtual HRESULT __stdcall LoadSkin (
BSTR SkinFile ) = 0;
virtual HRESULT __stdcall SaveSkin (
BSTR SkinFile ) = 0;
virtual HRESULT __stdcall GetTemplates (
struct ISkinObject * * pVal ) = 0;
virtual HRESULT __stdcall GetImages (
struct ISkinImages * * pVal ) = 0;
virtual HRESULT __stdcall GetSounds (
struct ISkinSounds * * pVal ) = 0;
virtual HRESULT __stdcall ApplySkin (
long hWndParent ) = 0;
virtual HRESULT __stdcall ApplySkinByName (
long hWnd,
BSTR Name ) = 0;
virtual HRESULT __stdcall ApplySkinByObject (
long hWnd,
IUnknown * pObjTemplate ) = 0;
virtual HRESULT __stdcall RemoveSkin (
long hWnd ) = 0;
virtual HRESULT __stdcall GetSkinnedWindow (
long hWnd,
struct ISkinObject * * pVal ) = 0;
virtual HRESULT __stdcall GetAuthor (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall SetAuthor (
BSTR newVal ) = 0;
virtual HRESULT __stdcall GetDescription (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall SetDescription (
BSTR newVal ) = 0;
virtual HRESULT __stdcall GetApplication (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall SetApplication (
BSTR newVal ) = 0;
virtual HRESULT __stdcall StartAnimation (
long hWnd,
BSTR AnimationName ) = 0;
virtual HRESULT __stdcall get_ApplyColors (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_ApplyColors (
VARIANT_BOOL pVal ) = 0;
virtual HRESULT __stdcall __getwindowcolor (
BSTR pVal ) = 0;
virtual HRESULT __stdcall __setwindowcolor (
BSTR newVal ) = 0;
virtual HRESULT __stdcall __getwindowtextcolor (
BSTR pVal ) = 0;
virtual HRESULT __stdcall __setwindowtextcolor (
BSTR newVal ) = 0;
virtual HRESULT __stdcall __getpanelcolor (
BSTR pVal ) = 0;
virtual HRESULT __stdcall __setpanelcolor (
BSTR newVal ) = 0;
virtual HRESULT __stdcall __getpaneltextcolor (
BSTR pVal ) = 0;
virtual HRESULT __stdcall __setpaneltextcolor (
BSTR newVal ) = 0;
virtual HRESULT __stdcall get_WindowColor (
long * pVal ) = 0;
virtual HRESULT __stdcall put_WindowColor (
long pVal ) = 0;
virtual HRESULT __stdcall get_WindowTextColor (
long * pVal ) = 0;
virtual HRESULT __stdcall put_WindowTextColor (
long pVal ) = 0;
virtual HRESULT __stdcall get_PanelColor (
long * pVal ) = 0;
virtual HRESULT __stdcall put_PanelColor (
long pVal ) = 0;
virtual HRESULT __stdcall get_PanelTextColor (
long * pVal ) = 0;
virtual HRESULT __stdcall put_PanelTextColor (
long pVal ) = 0;
virtual HRESULT __stdcall get_SkinClientArea (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_SkinClientArea (
VARIANT_BOOL pVal ) = 0;
};
struct __declspec(uuid("6a5905c9-0bdd-49fb-9c45-cbb450d3bfd5"))
ISkinObject : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall GetName (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall SetName (
BSTR newVal ) = 0;
virtual HRESULT __stdcall GetTag (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall SetTag (
BSTR newVal ) = 0;
virtual HRESULT __stdcall GetSkin (
struct ISkin * * pVal ) = 0;
virtual HRESULT __stdcall SetSkin (
struct ISkin * newVal ) = 0;
virtual HRESULT __stdcall AssignTo (
enum SkinClone flags,
struct ISkinObject * pObject ) = 0;
virtual HRESULT __stdcall Clone (
enum SkinClone flags,
struct ISkinObject * * pObject ) = 0;
virtual HRESULT __stdcall OnTimer (
long TimePassed ) = 0;
virtual HRESULT __stdcall GetParent (
struct ISkinObject * * pVal ) = 0;
virtual HRESULT __stdcall SetParent (
struct ISkinObject * newVal ) = 0;
virtual HRESULT __stdcall GetChildCount (
long * pVal ) = 0;
virtual HRESULT __stdcall AddChild (
struct ISkinObject * Child ) = 0;
virtual HRESULT __stdcall InsertChild (
struct ISkinObject * Child,
long Before ) = 0;
virtual HRESULT __stdcall DeleteChild (
long Index ) = 0;
virtual HRESULT __stdcall GetChild (
long Index,
struct ISkinObject * * pVal ) = 0;
virtual HRESULT __stdcall SetChild (
long Index,
struct ISkinObject * newVal ) = 0;
virtual HRESULT __stdcall FindObject (
BSTR ChildName,
struct ISkinObject * * pVal ) = 0;
virtual HRESULT __stdcall GetTypeInfo (
IUnknown * * pptinfo ) = 0;
};
enum SkinClone
{
skCloneAll = -1,
skProperties = 1,
skChildren = 2,
skAnimation = 4,
skEvents = 8
};
struct __declspec(uuid("4518c2dd-0ce0-4b00-ba96-78da09b52835"))
ISkinImages : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall GetImageCount (
long * pVal ) = 0;
virtual HRESULT __stdcall GetImage (
long Index,
struct ISkinImage * * pVal ) = 0;
virtual HRESULT __stdcall SetImage (
long Index,
struct ISkinImage * newVal ) = 0;
virtual HRESULT __stdcall GetImageName (
long Index,
BSTR * Name ) = 0;
virtual HRESULT __stdcall SetImageName (
long Index,
BSTR Name ) = 0;
virtual HRESULT __stdcall AddImage (
BSTR Name,
struct ISkinImage * Image ) = 0;
virtual HRESULT __stdcall LoadImage (
BSTR FileName,
struct ISkinImage * * Image ) = 0;
virtual HRESULT __stdcall FindImage (
BSTR Name,
struct ISkinImage * * Image ) = 0;
virtual HRESULT __stdcall DeleteImage (
long Index ) = 0;
virtual HRESULT __stdcall GetTempImage (
long sx,
long sy,
struct ISkinImage * * pImage ) = 0;
virtual HRESULT __stdcall SetHue (
long newVal,
VARIANT_BOOL Lossless ) = 0;
virtual HRESULT __stdcall GetHue (
long * pVal ) = 0;
};
struct __declspec(uuid("1f8bb9f7-eba0-4ac5-8980-fb4e872ba057"))
ISkinImage : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall Create (
int sx,
int sy ) = 0;
virtual HRESULT __stdcall Empty ( ) = 0;
virtual HRESULT __stdcall LoadFile (
BSTR FileName ) = 0;
virtual HRESULT __stdcall SaveFile (
BSTR FileName ) = 0;
virtual HRESULT __stdcall GetInfo (
struct SkinImageInfo * ImageInfo ) = 0;
virtual HRESULT __stdcall ApplyColorKey (
struct SkinRect * Area,
struct SkinRGB * Key ) = 0;
virtual HRESULT __stdcall GetRgn (
struct SkinRect * Area,
unsigned char AlphaThreshold,
long * hRegion ) = 0;
virtual HRESULT __stdcall DrawText (
struct SkinRect * Area,
BSTR Text,
long hFont,
struct SkinTextStyle * TextStyle ) = 0;
virtual HRESULT __stdcall GetClipRegion (
long * pVal ) = 0;
virtual HRESULT __stdcall SetClipRegion (
long newVal ) = 0;
virtual HRESULT __stdcall BitBlt (
enum SkinBlend blend,
struct SkinRect * Area,
struct ISkinImage * Overlay,
struct SkinPoint * OverlayCoord ) = 0;
virtual HRESULT __stdcall Tile (
enum SkinBlend blend,
struct SkinRect * Area,
struct ISkinImage * Overlay,
struct SkinRect * OverlayRect ) = 0;
virtual HRESULT __stdcall Stretch (
enum SkinBlend blend,
struct SkinRect * Area,
struct ISkinImage * Overlay,
struct SkinRect * OverlayRect ) = 0;
virtual HRESULT __stdcall ComposeSection (
enum SkinBlend blend,
struct SkinRect * Area,
struct ISkinImage * Image,
struct SkinImageSection * Section ) = 0;
virtual HRESULT __stdcall UnPremultiply (
struct SkinRect * Area,
unsigned char nThreshold ) = 0;
virtual HRESULT __stdcall Premultiply (
struct SkinRect * Area ) = 0;
virtual HRESULT __stdcall DrawToDC (
long hdcDest,
long XDest,
long YDest,
long Width,
long Height,
int XSrc,
int YSrc ) = 0;
virtual HRESULT __stdcall LockDCForRead (
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -