Microsoft Office Snapshot Viewer ActiveX 网马的Property和Method

作者:lcx
来源:vbs小铺

测试此网马不必要装access,只需单独装一个SNAPVIEW.EXE就可以测试(微软有下),不过我没有找到这个控件的可执行的方法,只能将网马的exe用js判断系统的语言选项后放在启动项里。装ACESS的用户要小心了。下边是我eXeScope 找到此此ActiveX的Property和Method。

SnapshotViewerControl; // Snapshot Viewer Control

Enum SnapZoom;
snapZoomToFit = 0;
snapZoomToFill = 1;
snapZoom200Percent = 2;
snapZoom150Percent = 3;
snapZoom100Percent = 4;
snapZoom75Percent = 5;
snapZoom50Percent = 6;
snapZoom25Percent = 7;
snapZoom10Percent = 8;

Dispatch ISnapshotViewer; // Snapshot Viewer Control
GUID={EE7C5CD0-368C-11D0-AD81-00A0C90DC8D9};
function QueryInterface(riid:^GUID; out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT; lcid:UI4; out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID; rgszNames:^^I1; cNames:UINT; lcid:UI4; out rgdispid:^I4);
function Invoke(dispidMember:I4; riid:^GUID; lcid:UI4; wFlags:UI2; pdispparams:^DISPPARAMS; out pvarResult:^variant; out pexcepinfo:^EXCEPINFO; out puArgErr:^UINT);
property-get SnapshotPath: BSTR;
property-put SnapshotPath(BSTR);
property-get CompressedPath: BSTR;
property-put CompressedPath(BSTR);
property-get Zoom: SnapZoom;
property-put Zoom(SnapZoom);
property-get AllowContextMenu: bool;
property-put AllowContextMenu(bool);
property-get ShowNavigationButtons: bool;
property-put ShowNavigationButtons(bool);
property-get PageCount: I4;
property-put PageCount(I4);
property-get CurrentPage: I4;
property-put CurrentPage(I4);
property-get ReadyState: I4;
property-put ReadyState(I4);
property-get Error: I4;
property-put Error(I4);
function AboutBox;
function PrintSnapshot(fShowDialog:bool);
function FirstPage;
function PreviousPage;
function NextPage;
function LastPage;
function GetDesiredExtents(out pdxDesired:^I4; out pdyDesired:^I4);
function NotifyDataChanged;
function PrintSnapshotDirect(bstrDriverName:BSTR; bstrPrinterName:BSTR; bstrPortName:BSTR);

Dispatch DSnapshotViewerEvents; // Event interface for the Snapshot Viewer Control
GUID={EFAF8180-368C-11D0-AD81-00A0C90DC8D9};
function FirstPage;
function PrevPage;
function NextPage;
function LastPage;
function Progress(Amount:I4);
function ReadyStateChange(ReadyState:I4);

Class SnapshotViewer; // Snapshot Viewer Control
GUID={F0E42D50-368C-11D0-AD81-00A0C90DC8D9};
function QueryInterface(riid:^GUID; out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT; lcid:UI4; out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID; rgszNames:^^I1; cNames:UINT; lcid:UI4; out rgdispid:^I4);
function Invoke(dispidMember:I4; riid:^GUID; lcid:UI4; wFlags:UI2; pdispparams:^DISPPARAMS; out pvarResult:^variant; out pexcepinfo:^EXCEPINFO; out puArgErr:^UINT);
property-get SnapshotPath: BSTR;
property-put SnapshotPath(BSTR);
property-get CompressedPath: BSTR;
property-put CompressedPath(BSTR);
property-get Zoom: SnapZoom;
property-put Zoom(SnapZoom);
property-get AllowContextMenu: bool;
property-put AllowContextMenu(bool);
property-get ShowNavigationButtons: bool;
property-put ShowNavigationButtons(bool);
property-get PageCount: I4;
property-put PageCount(I4);
property-get CurrentPage: I4;
property-put CurrentPage(I4);
property-get ReadyState: I4;
property-put ReadyState(I4);
property-get Error: I4;
property-put Error(I4);
function AboutBox;
function PrintSnapshot(fShowDialog:bool);
function FirstPage;
function PreviousPage;
function NextPage;
function LastPage;
function GetDesiredExtents(out pdxDesired:^I4; out pdyDesired:^I4);
function NotifyDataChanged;
function PrintSnapshotDirect(bstrDriverName:BSTR; bstrPrinterName:BSTR; bstrPortName:BSTR);
function FirstPage;
function PrevPage;
function NextPage;
function LastPage;
function Progress(Amount:I4);
function ReadyStateChange(ReadyState:I4);

Class SnapshotViewerDeprecated; // Snapshot Viewer Control
GUID={F0E42D60-368C-11D0-AD81-00A0C90DC8D9};
function QueryInterface(riid:^GUID; out ppvObj:^^void);
function AddRef: UI4;
function Release: UI4;
function GetTypeInfoCount(out pctinfo:^UINT);
function GetTypeInfo(itinfo:UINT; lcid:UI4; out pptinfo:^^void);
function GetIDsOfNames(riid:^GUID; rgszNames:^^I1; cNames:UINT; lcid:UI4; out rgdispid:^I4);
function Invoke(dispidMember:I4; riid:^GUID; lcid:UI4; wFlags:UI2; pdispparams:^DISPPARAMS; out pvarResult:^variant; out pexcepinfo:^EXCEPINFO; out puArgErr:^UINT);
property-get SnapshotPath: BSTR;
property-put SnapshotPath(BSTR);
property-get CompressedPath: BSTR;
property-put CompressedPath(BSTR);
property-get Zoom: SnapZoom;
property-put Zoom(SnapZoom);
property-get AllowContextMenu: bool;
property-put AllowContextMenu(bool);
property-get ShowNavigationButtons: bool;
property-put ShowNavigationButtons(bool);
property-get PageCount: I4;
property-put PageCount(I4);
property-get CurrentPage: I4;
property-put CurrentPage(I4);
property-get ReadyState: I4;
property-put ReadyState(I4);
property-get Error: I4;
property-put Error(I4);
function AboutBox;
function PrintSnapshot(fShowDialog:bool);
function FirstPage;
function PreviousPage;
function NextPage;
function LastPage;
function GetDesiredExtents(out pdxDesired:^I4; out pdyDesired:^I4);
function NotifyDataChanged;
function PrintSnapshotDirect(bstrDriverName:BSTR; bstrPrinterName:BSTR; bstrPortName:BSTR);
function FirstPage;
function PrevPage;
function NextPage;
function LastPage;
function Progress(Amount:I4);
function ReadyStateChange(ReadyState:I4);

相关日志

抢楼还有机会... 抢座Rss 2.0或者 Trackback

发表评论