コード例 #1
0
 internal static partial bool EvtFormatMessageBuffer(
     EventLogHandle publisherMetadataHandle,
     EventLogHandle eventHandle,
     uint messageId,
     int valueCount,
     IntPtr values,
     EvtFormatMessageFlags flags,
     int bufferSize,
     IntPtr buffer,
     out int bufferUsed);
コード例 #2
0
 internal static partial bool EvtFormatMessage(
     EventLogHandle publisherMetadataHandle,
     EventLogHandle eventHandle,
     uint messageId,
     int valueCount,
     EvtStringVariant[] values,
     EvtFormatMessageFlags flags,
     int bufferSize,
     [Out] char[]?buffer,
     out int bufferUsed);
コード例 #3
0
 internal static extern bool EvtFormatMessageBuffer(
     EventLogHandle publisherMetadataHandle,
     EventLogHandle eventHandle,
     uint messageId,
     int valueCount,
     IntPtr values,
     [MarshalAs(UnmanagedType.I4)] EvtFormatMessageFlags flags,
     int bufferSize,
     IntPtr buffer,
     out int bufferUsed
     );
コード例 #4
0
 internal static extern bool EvtFormatMessage(
     EventLogHandle publisherMetadataHandle,
     EventLogHandle eventHandle,
     uint messageId,
     int valueCount,
     EvtStringVariant[] values,
     [MarshalAs(UnmanagedType.I4)] EvtFormatMessageFlags flags,
     int bufferSize,
     [Out, MarshalAs(UnmanagedType.LPWStr)] StringBuilder buffer,
     out int bufferUsed
     );