Desktop Functions: Smart Device Functions:
|
Search Results for "CreateEnvironmentBlock" in [All]userenv
static extern bool CreateEnvironmentBlock( out IntPtr lpEnvironment, IntPtr hToken, bool bInherit );
Public Shared Function CreateEnvironmentBlock(ByRef lpEnvironment As IntPtr, ByVal hToken As IntPtr, ByVal bInherit As Boolean) As Boolean
internal static extern bool CreateEnvironmentBlock(ref IntPtr lpEnvironment, IntPtr hToken, bool bInherit);
internal static Dictionary<string,string> CreateEnvironmentBlock(SecurityToken token, bool inherit) {
if (!CreateEnvironmentBlock(ref env, token, inherit)) {
throw new System.ComponentModel.Win32Exception(lastError, "CreateEnvironmentBlock Error " + lastError); |