Exemplo n.º 1
0
 public static extern int CoInitializeSecurity(
     IntPtr securityDescriptor,  // Access permissions
     int cAuthSvc,               // Count of entries in asAuthSvc
     IntPtr asAuthSvc,           // Array of authentication services
     IntPtr pReserved1,          // Reserved for future use
     RPC_C_AUTHN_LEVEL level,    // Default authentication level
     RPC_C_IMP_LEVEL impers,     // Default impersonation level
     IntPtr pAuthList,
     EOLE_AUTHENTICATION_CAPABILITIES dwCapabilities,
     IntPtr pReserved3           // Reserved for future use
     );
Exemplo n.º 2
0
		internal static extern int CoInitializeSecurity(System.IntPtr pVoid, int cAuthSvc,
			System.IntPtr asAuthSvc, System.IntPtr pReserved1, RPC_C_AUTHN_LEVEL dwAuthnLevel,
			RPC_C_IMP_LEVEL dwImpLevel, System.IntPtr pAuthList, int dwCapabilities, System.IntPtr pReserved3);
Exemplo n.º 3
0
 public static extern HRESULT CoInitializeSecurity([Optional] IntPtr pSecDesc, int cAuthSvc, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] SOLE_AUTHENTICATION_SERVICE[] asAuthSvc,
                                                   [Optional] IntPtr pReserved1, RPC_C_AUTHN_LEVEL dwAuthnLevel, RPC_C_IMP_LEVEL dwImpLevel, in SOLE_AUTHENTICATION_LIST pAuthList, EOLE_AUTHENTICATION_CAPABILITIES dwCapabilities,
Exemplo n.º 4
0
 public static extern int CoInitializeSecurity(
     IntPtr securityDescriptor,  // Access permissions 
     int cAuthSvc,               // Count of entries in asAuthSvc
     IntPtr asAuthSvc,           // Array of authentication services 
     IntPtr pReserved1,          // Reserved for future use
     RPC_C_AUTHN_LEVEL level,    // Default authentication level
     RPC_C_IMP_LEVEL impers,     // Default impersonation level
     IntPtr pAuthList,
     EOLE_AUTHENTICATION_CAPABILITIES dwCapabilities,
     IntPtr pReserved3           // Reserved for future use
     );