コード例 #1
0
 internal static extern int AmsiScanBuffer(
     AMSIHandleContext amsiContext
     , byte[] buffer
     , ulong length
     , string contentName
     , AMSIHandleSession session
     , out int result);
コード例 #2
0
 internal static extern int AmsiScanString(AMSIHandleContext amsiContext,
                                           [In()][MarshalAs(UnmanagedType.LPWStr)] string @string,
                                           [In()][MarshalAs(UnmanagedType.LPWStr)] string contentName,
                                           AMSIHandleSession session,
                                           out int result);
コード例 #3
0
 internal static extern int AmsiOpenSession(
     AMSIHandleContext amsiContext,
     out AMSIHandleSession session);
コード例 #4
0
 internal static extern void AmsiCloseSession(
     AMSIHandleContext amsiContext,
     IntPtr session);
コード例 #5
0
 internal static extern int AmsiInitialize([MarshalAs(UnmanagedType.LPWStr)] string appName, out AMSIHandleContext amsiContext);