コード例 #1
0
ファイル: NtDll.cs プロジェクト: zodiacon/ManagedWindows
 public OBJECT_ATTRIBUTES(UNICODE_STRING *name, ObjectAttributesFlags flags, IntPtr hRootDirectory)
 {
     Length             = sizeof(OBJECT_ATTRIBUTES);
     Attributes         = flags;
     ObjectName         = name;
     SecurityDescriptor = SecurityQualityOfService = IntPtr.Zero;
     RootDirectory      = hRootDirectory;
 }
コード例 #2
0
ファイル: NtDll.cs プロジェクト: zodiacon/ManagedWindows
 public OBJECT_ATTRIBUTES(UNICODE_STRING *name, ObjectAttributesFlags flags = ObjectAttributesFlags.None) : this(name, flags, IntPtr.Zero)
 {
 }
コード例 #3
0
        IntPtr                SecurityQualityOfService; // Points to type SECURITY_QUALITY_OF_SERVICE

        public void Init(void *str, ObjectAttributesFlags flags)
        {
            Length     = sizeof(ObjectAttributes);
            ObjectName = str;
            Attributes = flags;
        }