For the complete documentation index, see llms.txt. This page is also available as Markdown.

AmsiInitialize

[DllImport("Amsi.dll", ExactSpelling = true)]
[DefaultDllImportSearchPaths(DllImportSearchPath.System32)]
public static extern unsafe HRESULT AmsiInitialize(
    PCWSTR appName,
    HAMSICONTEXT* amsiContext);

HAMSICONTEXT

Last updated