Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SECURITY_ATTRIBUTES" in [All]

user32

.

                    [MarshalAs(UnmanagedType.LPStruct)] SECURITY_ATTRIBUTES attributes);

.

                           ByVal accessMask As ACCESS_MASK, ByVal attributes As SECURITY_ATTRIBUTES) As IntPtr

.

SECURITY_ATTRIBUTES

.

    static extern IntPtr CreateDesktop(..., [In] ref SECURITY_ATTRIBUTES lpsa);

.

    [MarshalAs(UnmanagedType.LPStruct)] SECURITY_ATTRIBUTES attributes);

rapi

.

public struct SECURITY_ATTRIBUTES

Interfaces

.

    public struct SECURITY_ATTRIBUTES

.

        public SECURITY_ATTRIBUTES securityAttributes;

advapi32

.

    ref SECURITY_ATTRIBUTES lpProcessAttributes,

.

    ref SECURITY_ATTRIBUTES lpThreadAttributes,

.

    ByRef lpProcessAttributes as SECURITY_ATTRIBUTES, _

.

    ByRef lpThreadAttributes as SECURITY_ATTRIBUTES, _

.

SECURITY_ATTRIBUTES

.

     SECURITY_ATTRIBUTES saProcessAttributes = new SECURITY_ATTRIBUTES();

.

     SECURITY_ATTRIBUTES saThreadAttributes = new SECURITY_ATTRIBUTES();    

.

     Dim saProcessAttributes as SECURITY_ATTRIBUTES = new SECURITY_ATTRIBUTES

.

     Dim saThreadAttributes as SECURITY_ATTRIBUTES = new SECURITY_ATTRIBUTES  

.

    ref SECURITY_ATTRIBUTES lpTokenAttributes,

.

    ByRef lpThreadAttributes As SECURITY_ATTRIBUTES, _

.

SECURITY_ATTRIBUTES

.

    ref SECURITY_ATTRIBUTES lpTokenAttributes,

.

    ByRef lpThreadAttributes As SECURITY_ATTRIBUTES, _

.

SECURITY_ATTRIBUTES

.

            ref SECURITY_ATTRIBUTES lpSecurityAttributes,

.

        ByRef lpSecurityAttributes As SECURITY_ATTRIBUTES, _

Structures

.
Summary
The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable. This structure provides security settings for objects created by various functions, such as CreateFile, CreatePipe, CreateProcess, or RegCreateKeyEx.
.

public struct SECURITY_ATTRIBUTES

.

public struct SECURITY_ATTRIBUTES

.

Structure SECURITY_ATTRIBUTES

.

    public struct SECURITY_ATTRIBUTES

.

        static extern bool CreateDirectory(string lpPathName, SECURITY_ATTRIBUTES lpSecurityAttributes);        

.

            SECURITY_ATTRIBUTES lpSecurityAttributes = new SECURITY_ATTRIBUTES();

.
Documentation
[SECURITY_ATTRIBUTES] on MSDN
.

        /// WLAN_SECURITY_ATTRIBUTES->_WLAN_SECURITY_ATTRIBUTES

.

        public WLAN_SECURITY_ATTRIBUTES wlanSecurityAttributes;

.

     ''' WLAN_SECURITY_ATTRIBUTES->_WLAN_SECURITY_ATTRIBUTES

.

     Public wlanSecurityAttributes As WLAN_SECURITY_ATTRIBUTES

.

WLAN_SECURITY_ATTRIBUTES

.

        public struct WLAN_SECURITY_ATTRIBUTES

.

     Public Structure WLAN_SECURITY_ATTRIBUTES

.
Documentation
[WLAN_SECURITY_ATTRIBUTES] on MSDN

kernel32

.

static extern IntPtr CreateJobObject([In] ref SECURITY_ATTRIBUTES

.

Private Shared Function CreateJobObject(lpJobAttributes As SECURITY_ATTRIBUTES, lpName As String) As IntPtr

.

SECURITY_ATTRIBUTES

.

        public struct SECURITY_ATTRIBUTES

.

                    Native.SECURITY_ATTRIBUTES secAttribs = new Native.SECURITY_ATTRIBUTES();

.

   uint nDefaultTimeOut, SECURITY_ATTRIBUTES lpSecurityAttributes);

.

http://codemortem.blogspot.com/2006/01/creating-null-dacl-in-managed-code.html - Blog post on how to populate the SECURITY_ATTRIBUTES structure from managed code.

.

   ref SECURITY_ATTRIBUTES lpPipeAttributes, uint nSize);

.

   ref SECURITY_ATTRIBUTES lpProcessAttributes,

.

   ref SECURITY_ATTRIBUTES lpThreadAttributes,

.

    ByRef lpProcessAttributes As SECURITY_ATTRIBUTES, _

.

    ByRef lpThreadAttributes As SECURITY_ATTRIBUTES, _

.

STARTUPINFO, PROCESS_INFORMATION, SECURITY_ATTRIBUTES, STARTUPINFOEX

.

     SECURITY_ATTRIBUTES pSec = new SECURITY_ATTRIBUTES();

.

     SECURITY_ATTRIBUTES tSec = new SECURITY_ATTRIBUTES();

.

     Dim pSec As SECURITY_ATTRIBUTES  = New SECURITY_ATTRIBUTES()

.

     Dim tSec As SECURITY_ATTRIBUTES = New SECURITY_ATTRIBUTES()

.

static extern IntPtr CreateThread([In] ref SECURITY_ATTRIBUTES

.

SECURITY_ATTRIBUTES

.

    //IntPtr.Zero - According to MSDN - "bInheritHandle member of the SECURITY_ATTRIBUTES structure must


 
Access PInvoke.net directly from VS: