点击或拖拽改变大小

AdvApiReadEventLog 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int ReadEventLog(
	IntPtr hEventLog,
	int dwReadFlags,
	int dwRecordOffset,
	ref EVENTLOGRECORD lpBuffer,
	int nNumberOfBytesToRead,
	ref int pnBytesRead,
	ref int pnMinNumberOfBytesNeeded
)

参数

hEventLog
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <param name="hEventLog"/> 文档]

dwReadFlags
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <param name="dwReadFlags"/> 文档]

dwRecordOffset
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <param name="dwRecordOffset"/> 文档]

lpBuffer
类型:Sweet.Common.Win32EVENTLOGRECORD

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <param name="lpBuffer"/> 文档]

nNumberOfBytesToRead
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <param name="nNumberOfBytesToRead"/> 文档]

pnBytesRead
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <param name="pnBytesRead"/> 文档]

pnMinNumberOfBytesNeeded
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <param name="pnMinNumberOfBytesNeeded"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.AdvApi.ReadEventLog(System.IntPtr,System.Int32,System.Int32,Sweet.Common.Win32.EVENTLOGRECORD@,System.Int32,System.Int32@,System.Int32@)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架