📄 dte.tlh
字号:
virtual HRESULT __stdcall get_StatusBar (
struct StatusBar * * ppStatusBar ) = 0;
virtual HRESULT __stdcall get_FullName (
BSTR * lpbstrReturn ) = 0;
virtual HRESULT __stdcall get_UserControl (
VARIANT_BOOL * UserControl ) = 0;
virtual HRESULT __stdcall put_UserControl (
VARIANT_BOOL UserControl ) = 0;
virtual HRESULT __stdcall get_ObjectExtenders (
struct ObjectExtenders * * ppObjectExtenders ) = 0;
virtual HRESULT __stdcall get_Find (
struct Find * * ppFind ) = 0;
virtual HRESULT __stdcall get_Mode (
enum vsIDEMode * pVal ) = 0;
virtual HRESULT __stdcall LaunchWizard (
BSTR VSZFile,
SAFEARRAY * * ContextParams,
enum wizardResult * pResult ) = 0;
virtual HRESULT __stdcall get_ItemOperations (
struct ItemOperations * * ppItemOperations ) = 0;
virtual HRESULT __stdcall get_UndoContext (
struct UndoContext * * ppUndoContext ) = 0;
virtual HRESULT __stdcall get_Macros (
struct Macros * * ppMacros ) = 0;
virtual HRESULT __stdcall get_ActiveSolutionProjects (
VARIANT * pProjects ) = 0;
virtual HRESULT __stdcall get_MacrosIDE (
struct _DTE * * pDTE ) = 0;
virtual HRESULT __stdcall get_RegistryRoot (
BSTR * pVal ) = 0;
virtual HRESULT __stdcall get_Application (
struct _DTE * * pVal ) = 0;
virtual HRESULT __stdcall get_ContextAttributes (
struct ContextAttributes * * ppVal ) = 0;
virtual HRESULT __stdcall get_SourceControl (
struct SourceControl * * ppVal ) = 0;
virtual HRESULT __stdcall get_SuppressUI (
VARIANT_BOOL * pVal ) = 0;
virtual HRESULT __stdcall put_SuppressUI (
VARIANT_BOOL pVal ) = 0;
virtual HRESULT __stdcall get_Debugger (
struct Debugger * * ppDebugger ) = 0;
virtual HRESULT __stdcall SatelliteDllPath (
BSTR Path,
BSTR Name,
BSTR * pFullPath ) = 0;
virtual HRESULT __stdcall get_Edition (
BSTR * ProductEdition ) = 0;
};
struct __declspec(uuid("2294311a-b7bc-4789-b365-1c15ff2cd17c"))
Windows : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall Item (
VARIANT index,
struct Window * * lppcReturn ) = 0;
virtual HRESULT __stdcall get_Count (
long * lplReturn ) = 0;
virtual HRESULT __stdcall _NewEnum (
IUnknown * * lppiuReturn ) = 0;
virtual HRESULT __stdcall CreateToolWindow (
struct AddIn * AddInInst,
BSTR ProgID,
BSTR Caption,
BSTR GuidPosition,
IDispatch * * DocObj,
struct Window * * lppcReturn ) = 0;
virtual HRESULT __stdcall get_DTE (
struct _DTE * * lppaReturn ) = 0;
virtual HRESULT __stdcall get_Parent (
struct _DTE * * lppaReturn ) = 0;
virtual HRESULT __stdcall CreateLinkedWindowFrame (
struct Window * Window1,
struct Window * Window2,
enum vsLinkedWindowType Link,
struct Window * * LinkedWindowFrame ) = 0;
};
struct __declspec(uuid("0beab46b-4c07-4f94-a8d7-1626020e4e53"))
Window : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Collection (
struct Windows * * lppaReturn ) = 0;
virtual HRESULT __stdcall get_Visible (
VARIANT_BOOL * pfVisible ) = 0;
virtual HRESULT __stdcall put_Visible (
VARIANT_BOOL pfVisible ) = 0;
virtual HRESULT __stdcall get_Left (
long * plLeft ) = 0;
virtual HRESULT __stdcall put_Left (
long plLeft ) = 0;
virtual HRESULT __stdcall get_Top (
long * plTop ) = 0;
virtual HRESULT __stdcall put_Top (
long plTop ) = 0;
virtual HRESULT __stdcall get_Width (
long * plWidth ) = 0;
virtual HRESULT __stdcall put_Width (
long plWidth ) = 0;
virtual HRESULT __stdcall get_Height (
long * plHeight ) = 0;
virtual HRESULT __stdcall put_Height (
long plHeight ) = 0;
virtual HRESULT __stdcall get_WindowState (
enum vsWindowState * plWindowState ) = 0;
virtual HRESULT __stdcall put_WindowState (
enum vsWindowState plWindowState ) = 0;
virtual HRESULT __stdcall SetFocus ( ) = 0;
virtual HRESULT __stdcall get_Type (
enum vsWindowType * pKind ) = 0;
virtual HRESULT __stdcall SetKind (
enum vsWindowType eKind ) = 0;
virtual HRESULT __stdcall get_LinkedWindows (
struct LinkedWindows * * ppwnsCollection ) = 0;
virtual HRESULT __stdcall get_LinkedWindowFrame (
struct Window * * ppwinFrame ) = 0;
virtual HRESULT __stdcall Detach ( ) = 0;
virtual HRESULT __stdcall Attach (
long lWindowHandle ) = 0;
virtual HRESULT __stdcall get_HWnd (
long * plWindowHandle ) = 0;
virtual HRESULT __stdcall get_Kind (
BSTR * pbstrType ) = 0;
virtual HRESULT __stdcall get_ObjectKind (
BSTR * pbstrTypeGUID ) = 0;
virtual HRESULT __stdcall get_Object (
IDispatch * * ppToolObject ) = 0;
virtual HRESULT __stdcall get_DocumentData (
BSTR bstrWhichData,
IDispatch * * ppDataObject ) = 0;
virtual HRESULT __stdcall get_ProjectItem (
struct ProjectItem * * ppProjItem ) = 0;
virtual HRESULT __stdcall get_Project (
struct Project * * ppProj ) = 0;
virtual HRESULT __stdcall get_DTE (
struct _DTE * * lppaReturn ) = 0;
virtual HRESULT __stdcall get_Document (
struct Document * * ppDocument ) = 0;
virtual HRESULT __stdcall get_Selection (
IDispatch * * ppDocument ) = 0;
virtual HRESULT __stdcall get_Linkable (
VARIANT_BOOL * pLinkable ) = 0;
virtual HRESULT __stdcall put_Linkable (
VARIANT_BOOL pLinkable ) = 0;
virtual HRESULT __stdcall Activate ( ) = 0;
virtual HRESULT __stdcall Close (
enum vsSaveChanges SaveChanges ) = 0;
virtual HRESULT __stdcall get_Caption (
BSTR * pbstrTitle ) = 0;
virtual HRESULT __stdcall put_Caption (
BSTR pbstrTitle ) = 0;
virtual HRESULT __stdcall SetSelectionContainer (
SAFEARRAY * * Objects ) = 0;
virtual HRESULT __stdcall get_IsFloating (
VARIANT_BOOL * Floating ) = 0;
virtual HRESULT __stdcall put_IsFloating (
VARIANT_BOOL Floating ) = 0;
virtual HRESULT __stdcall get_AutoHides (
VARIANT_BOOL * Hides ) = 0;
virtual HRESULT __stdcall put_AutoHides (
VARIANT_BOOL Hides ) = 0;
virtual HRESULT __stdcall SetTabPicture (
VARIANT Picture ) = 0;
virtual HRESULT __stdcall get_ContextAttributes (
struct ContextAttributes * * ppVal ) = 0;
};
enum vsWindowState
{
vsWindowStateNormal = 0,
vsWindowStateMinimize = 1,
vsWindowStateMaximize = 2
};
enum vsWindowType
{
vsWindowTypeCodeWindow = 0,
vsWindowTypeDesigner = 1,
vsWindowTypeBrowser = 2,
vsWindowTypeWatch = 3,
vsWindowTypeLocals = 4,
vsWindowTypeImmediate = 5,
vsWindowTypeSolutionExplorer = 6,
vsWindowTypeProperties = 7,
vsWindowTypeFind = 8,
vsWindowTypeFindReplace = 9,
vsWindowTypeToolbox = 10,
vsWindowTypeLinkedWindowFrame = 11,
vsWindowTypeMainWindow = 12,
vsWindowTypePreview = 13,
vsWindowTypeColorPalette = 14,
vsWindowTypeToolWindow = 15,
vsWindowTypeDocument = 16,
vsWindowTypeOutput = 17,
vsWindowTypeTaskList = 18,
vsWindowTypeAutos = 19,
vsWindowTypeCallStack = 20,
vsWindowTypeThreads = 21,
vsWindowTypeDocumentOutline = 22,
vsWindowTypeRunningDocuments = 23
};
struct __declspec(uuid("f00ef34a-a654-4c1b-897a-585d5bcbb35a"))
LinkedWindows : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Parent (
struct Window * * ppptReturn ) = 0;
virtual HRESULT __stdcall Item (
VARIANT index,
struct Window * * lppcReturn ) = 0;
virtual HRESULT __stdcall get_Count (
long * lplReturn ) = 0;
virtual HRESULT __stdcall _NewEnum (
IUnknown * * lppiuReturn ) = 0;
virtual HRESULT __stdcall Remove (
struct Window * Window ) = 0;
virtual HRESULT __stdcall Add (
struct Window * Window ) = 0;
virtual HRESULT __stdcall get_DTE (
struct _DTE * * lppaReturn ) = 0;
};
struct __declspec(uuid("3c9cfe1e-389f-4118-9fad-365385190329"))
DTE;
// [ default ] interface _DTE
struct __declspec(uuid("0b48100a-473e-433c-ab8f-66b9739ab620"))
ProjectItem : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_IsDirty (
VARIANT_BOOL * lpfReturn ) = 0;
virtual HRESULT __stdcall put_IsDirty (
VARIANT_BOOL lpfReturn ) = 0;
virtual HRESULT __stdcall get_FileNames (
short index,
BSTR * lpbstrReturn ) = 0;
virtual HRESULT __stdcall SaveAs (
BSTR NewFileName,
VARIANT_BOOL * lpfReturn ) = 0;
virtual HRESULT __stdcall get_FileCount (
short * lpsReturn ) = 0;
virtual HRESULT __stdcall get_Name (
BSTR * pbstrReturn ) = 0;
virtual HRESULT __stdcall put_Name (
BSTR pbstrReturn ) = 0;
virtual HRESULT __stdcall get_Collection (
struct ProjectItems * * lppcReturn ) = 0;
virtual HRESULT __stdcall get_Properties (
struct Properties * * ppObject ) = 0;
virtual HRESULT __stdcall get_DTE (
struct _DTE * * lppaReturn ) = 0;
virtual HRESULT __stdcall get_Kind (
BSTR * lpbstrFileName ) = 0;
virtual HRESULT __stdcall get_ProjectItems (
struct ProjectItems * * lppcReturn ) = 0;
virtual HRESULT __stdcall get_IsOpen (
BSTR ViewKind,
VARIANT_BOOL * lpfReturn ) = 0;
virtual HRESULT __stdcall Open (
BSTR ViewKind,
struct Window * * lppfReturn ) = 0;
virtual HRESULT __stdcall Remove ( ) = 0;
virtual HRESULT __stdcall ExpandView ( ) = 0;
virtual HRESULT __stdcall get_Object (
IDispatch * * ProjectItemModel ) = 0;
virtual HRESULT __stdcall get_Extender (
BSTR ExtenderName,
IDispatch * * Extender ) = 0;
virtual HRESULT __stdcall get_ExtenderNames (
VARIANT * ExtenderNames ) = 0;
virtual HRESULT __stdcall get_ExtenderCATID (
BSTR * pRetval ) = 0;
virtual HRESULT __stdcall get_Saved (
VARIANT_BOOL * lpfReturn ) = 0;
virtual HRESULT __stdcall put_Saved (
VARIANT_BOOL lpfReturn ) = 0;
virtual HRESULT __stdcall get_ConfigurationManager (
struct ConfigurationManager * * ppConfigurationManager ) = 0;
virtual HRESULT __stdcall get_FileCodeModel (
struct FileCodeModel * * ppFileCodeModel ) = 0;
virtual HRESULT __stdcall Save (
BSTR FileName ) = 0;
virtual HRESULT __stdcall get_Document (
struct Document * * ppDocument ) = 0;
virtual HRESULT __stdcall get_SubProject (
struct Project * * ppProject ) = 0;
virtual HRESULT __stdcall get_ContainingProject (
struct Project * * ppProject ) = 0;
virtual HRESULT __stdcall Delete ( ) = 0;
};
struct __declspec(uuid("8e2f1269-185e-43c7-8899-950ad2769ccf"))
ProjectItems : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall Item (
VARIANT index,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -