• 大小: 0.04M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 截图  C#  activex  插件  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace PrintScreenLib
{
    //为了让ActiveX控件获得客户端的信任,控件类需要实现一个名为“IobjectSafety”的接口。先创建该接口(注意,不能修改该接口的GUID值)
    [ComImport Guid(“CB5BDC81-93C1-11CF-8F20-00805F2CD064“)]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    public interface IobjectSafety
    {
        [PreserveSig]
        int GetInterfaceSafetyOptions(ref Guid riid [MarshalAs(UnmanagedType.U4)] ref int pdwSupportedOptions [MarshalAs(UnmanagedType.U4)] ref int pdwEnabledOptions);

        [PreserveSig()]
        int SetInterfaceSafetyOptions(ref Guid riid [MarshalAs(UnmanagedType.U4)] int dwOptionSetMask [MarshalAs(UnmanagedType.U4)] int dwEnabledOptions);
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        882  2016-06-12 09:05  PrintScreenLib\Actx.cs

     文件       8704  2016-06-12 11:16  PrintScreenLib\bin\Debug\PrintScreenLib.dll

     文件      17920  2016-06-12 11:16  PrintScreenLib\bin\Debug\PrintScreenLib.pdb

     文件       2012  2016-06-12 11:16  PrintScreenLib\bin\Debug\PrintScreenLib.tlb

     文件       8704  2016-06-12 11:48  PrintScreenLib\bin\Release\PrintScreenLib.dll

     文件      15872  2016-06-12 11:48  PrintScreenLib\bin\Release\PrintScreenLib.pdb

     文件       2012  2016-06-12 11:48  PrintScreenLib\bin\Release\PrintScreenLib.tlb

     文件       1231  2016-06-12 08:29  PrintScreenLib\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       5893  2016-06-12 11:16  PrintScreenLib\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件        655  2016-06-12 11:16  PrintScreenLib\obj\Debug\PrintScreenLib.csproj.FileListAbsolute.txt

     文件        774  2016-06-12 10:54  PrintScreenLib\obj\Debug\PrintScreenLib.csproj.GenerateResource.Cache

     文件       1226  2016-06-12 09:08  PrintScreenLib\obj\Debug\PrintScreenLib.csprojResolveAssemblyReference.cache

     文件       8704  2016-06-12 11:16  PrintScreenLib\obj\Debug\PrintScreenLib.dll

     文件      17920  2016-06-12 11:16  PrintScreenLib\obj\Debug\PrintScreenLib.pdb

     文件        180  2016-06-12 11:16  PrintScreenLib\obj\Debug\PrintScreenLib.PSLib.resources

     文件        553  2016-06-12 11:48  PrintScreenLib\obj\PrintScreenLib.csproj.UnmanagedRegistration.cache

     文件       1231  2016-06-12 11:48  PrintScreenLib\obj\Release\DesignTimeResolveAssemblyReferences.cache

     文件       5897  2016-06-12 11:48  PrintScreenLib\obj\Release\DesignTimeResolveAssemblyReferencesInput.cache

     文件        671  2016-06-12 11:48  PrintScreenLib\obj\Release\PrintScreenLib.csproj.FileListAbsolute.txt

     文件        774  2016-06-12 11:35  PrintScreenLib\obj\Release\PrintScreenLib.csproj.GenerateResource.Cache

     文件       1226  2016-06-12 11:35  PrintScreenLib\obj\Release\PrintScreenLib.csprojResolveAssemblyReference.cache

     文件       8704  2016-06-12 11:48  PrintScreenLib\obj\Release\PrintScreenLib.dll

     文件      15872  2016-06-12 11:48  PrintScreenLib\obj\Release\PrintScreenLib.pdb

     文件        180  2016-06-12 11:48  PrintScreenLib\obj\Release\PrintScreenLib.PSLib.resources

     文件       2774  2016-06-12 11:48  PrintScreenLib\PrintScreenLib.csproj

     文件       1369  2016-06-12 09:08  PrintScreenLib\Properties\AssemblyInfo.cs

     文件       4644  2016-06-12 13:01  PrintScreenLib\PSLib.cs

     文件       1976  2016-06-12 10:54  PrintScreenLib\PSLib.Designer.cs

     文件       5817  2016-06-12 10:54  PrintScreenLib\PSLib.resx

     文件        958  2016-06-12 12:00  PrintScreenLib\测试页面.html

............此处省略13个文件信息

评论

共有 条评论