@@ -11,8 +11,8 @@ internal static partial class Interop
11
11
{
12
12
internal static partial class NetSecurityNative
13
13
{
14
- [ DllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_ReleaseGssBuffer" ) ]
15
- internal static extern void ReleaseGssBuffer (
14
+ [ GeneratedDllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_ReleaseGssBuffer" ) ]
15
+ internal static partial void ReleaseGssBuffer (
16
16
IntPtr bufferPtr ,
17
17
ulong length ) ;
18
18
@@ -42,10 +42,10 @@ internal static partial Status ImportPrincipalName(
42
42
int inputNameByteCount ,
43
43
out SafeGssNameHandle outputName ) ;
44
44
45
- [ DllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_ReleaseName" ) ]
46
- internal static unsafe extern Status ReleaseName (
47
- Status * minorStatus ,
48
- IntPtr * inputName ) ;
45
+ [ GeneratedDllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_ReleaseName" ) ]
46
+ internal static partial Status ReleaseName (
47
+ out Status minorStatus ,
48
+ ref IntPtr inputName ) ;
49
49
50
50
[ GeneratedDllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_AcquireAcceptorCred" ) ]
51
51
internal static partial Status AcquireAcceptorCred (
@@ -67,10 +67,10 @@ internal static partial Status InitiateCredWithPassword(
67
67
int passwordLen ,
68
68
out SafeGssCredHandle outputCredHandle ) ;
69
69
70
- [ DllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_ReleaseCred" ) ]
71
- internal static unsafe extern Status ReleaseCred (
72
- Status * minorStatus ,
73
- IntPtr * credHandle ) ;
70
+ [ GeneratedDllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_ReleaseCred" ) ]
71
+ internal static partial Status ReleaseCred (
72
+ out Status minorStatus ,
73
+ ref IntPtr credHandle ) ;
74
74
75
75
[ GeneratedDllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_InitSecContext" ) ]
76
76
internal static partial Status InitSecContext (
@@ -113,10 +113,10 @@ internal static partial Status AcceptSecContext(
113
113
out uint retFlags ,
114
114
out bool isNtlmUsed ) ;
115
115
116
- [ DllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_DeleteSecContext" ) ]
117
- internal static unsafe extern Status DeleteSecContext (
118
- Status * minorStatus ,
119
- IntPtr * contextHandle ) ;
116
+ [ GeneratedDllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_DeleteSecContext" ) ]
117
+ internal static partial Status DeleteSecContext (
118
+ out Status minorStatus ,
119
+ ref IntPtr contextHandle ) ;
120
120
121
121
[ GeneratedDllImport ( Interop . Libraries . NetSecurityNative , EntryPoint = "NetSecurityNative_GetUser" ) ]
122
122
internal static partial Status GetUser (
0 commit comments