diff options
Diffstat (limited to 'sandbox/src/sandbox.h')
-rw-r--r-- | sandbox/src/sandbox.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sandbox/src/sandbox.h b/sandbox/src/sandbox.h index 683bda7..18c05ce 100644 --- a/sandbox/src/sandbox.h +++ b/sandbox/src/sandbox.h @@ -84,6 +84,14 @@ class BrokerServices { // If the return is ERROR_GENERIC, you can call ::GetLastError() to get // more information. virtual ResultCode WaitForAllTargets() = 0; + + // Adds an unsandboxed process as a peer for policy decisions (e.g. + // HANDLES_DUP_ANY policy). + // Returns: + // ALL_OK if successful. All other return values imply failure. + // If the return is ERROR_GENERIC, you can call ::GetLastError() to get + // more information. + virtual ResultCode AddTargetPeer(HANDLE peer_process) = 0; }; // TargetServices models the current process from the perspective |