.
static extern bool AddERExcludedApplication(string name);
.
Declare Unicode Function AddERExcludedApplication Lib "faultrep.dll" (name as string) As Boolean
.
private static extern bool AddERExcludedApplication(string name);
.
bool result = AddERExcludedApplication("myapp.exe");
.