summaryrefslogtreecommitdiff
path: root/ACE/ace/Process.inl
diff options
context:
space:
mode:
authorLike Ma <likemartinma@gmail.com>2017-04-16 22:18:49 +0800
committerLike Ma <likemartinma@gmail.com>2019-01-30 21:44:22 +0800
commit1527043b14f0a14cc663b8f47b3fdb8bec86705a (patch)
tree9e5bd54d02d0cff047440c3b430fb807fe31213f /ACE/ace/Process.inl
parent59fb63edb14fbd9c45a269d7f41ada12142e0afc (diff)
downloadATCD-1527043b14f0a14cc663b8f47b3fdb8bec86705a.tar.gz
Support specifying user token in ACE_Process_Options for ::CreateProcessAsUser.
Diffstat (limited to 'ACE/ace/Process.inl')
-rw-r--r--ACE/ace/Process.inl5
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/ace/Process.inl b/ACE/ace/Process.inl
index 1bccc246778..66241f43661 100644
--- a/ACE/ace/Process.inl
+++ b/ACE/ace/Process.inl
@@ -219,6 +219,11 @@ ACE_Process_Options::set_thread_attributes (void)
#endif /* !ACE_HAS_WINCE */
}
+ACE_INLINE HANDLE ACE_Process_Options::get_user_token (void) const
+{
+ return user_token_;
+}
+
#else /* !defined (ACE_WIN32) */
ACE_INLINE ACE_HANDLE