6 SECURITY_STATUS WINAPI
ApplyControlTokenW(PCtxtHandle Handle
, PSecBufferDesc Buffer
);
7 SECURITY_STATUS WINAPI
ApplyControlTokenA(PCtxtHandle Handle
, PSecBufferDesc Buffer
);
9 static SecurityFunctionTableA securityFunctionTableA
=
11 SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION
,
12 EnumerateSecurityPackagesA
,
13 QueryCredentialsAttributesA
,
14 AcquireCredentialsHandleA
,
15 FreeCredentialsHandle
,
17 InitializeSecurityContextA
,
18 AcceptSecurityContext
,
20 DeleteSecurityContext
,
22 QueryContextAttributesA
,
23 ImpersonateSecurityContext
,
24 RevertSecurityContext
,
28 QuerySecurityPackageInfoA
,
29 EncryptMessage
, /* Reserved3 */
30 DecryptMessage
, /* Reserved4 */
31 ExportSecurityContext
,
32 ImportSecurityContextA
,
35 QuerySecurityContextToken
,
41 static SecurityFunctionTableW securityFunctionTableW
=
43 SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION
,
44 EnumerateSecurityPackagesW
,
45 QueryCredentialsAttributesW
,
46 AcquireCredentialsHandleW
,
47 FreeCredentialsHandle
,
49 InitializeSecurityContextW
,
50 AcceptSecurityContext
,
52 DeleteSecurityContext
,
54 QueryContextAttributesW
,
55 ImpersonateSecurityContext
,
56 RevertSecurityContext
,
60 QuerySecurityPackageInfoW
,
61 EncryptMessage
, /* Reserved3 */
62 DecryptMessage
, /* Reserved4 */
63 ExportSecurityContext
,
64 ImportSecurityContextW
,
67 QuerySecurityContextToken
,
75 EnumerateSecurityPackagesW (
77 PSecPkgInfoW
* psecpkginfow
81 return ERROR_CALL_NOT_IMPLEMENTED
;
86 EnumerateSecurityPackagesA(
88 PSecPkgInfoA
* psecpkginfoa
92 return ERROR_CALL_NOT_IMPLEMENTED
;
101 HeapFree(GetProcessHeap(), 0, pvoid
);
107 FreeCredentialsHandle(PCredHandle Handle
)
110 return ERROR_CALL_NOT_IMPLEMENTED
;
115 DeleteSecurityContext(PCtxtHandle Handle
)
118 return ERROR_CALL_NOT_IMPLEMENTED
;
121 PSecurityFunctionTableW
123 InitSecurityInterfaceW(VOID
)
125 DPRINT("InitSecurityInterfaceW() called\n");
126 return &securityFunctionTableW
;
131 EncryptMessage(PCtxtHandle Handle
,
133 PSecBufferDesc Buffer
,
137 return ERROR_CALL_NOT_IMPLEMENTED
;
142 DecryptMessage(PCtxtHandle Handle
,
143 PSecBufferDesc Buffer
,
148 return ERROR_CALL_NOT_IMPLEMENTED
;
153 ApplyControlTokenW(PCtxtHandle Handle
,
154 PSecBufferDesc Buffer
)
157 return ERROR_CALL_NOT_IMPLEMENTED
;
162 ApplyControlTokenA(PCtxtHandle Handle
,
163 PSecBufferDesc Buffer
)
166 return ERROR_CALL_NOT_IMPLEMENTED
;
171 CompleteAuthToken(PCtxtHandle Handle
,
172 PSecBufferDesc Buffer
)
175 return ERROR_CALL_NOT_IMPLEMENTED
;
180 QueryContextAttributesA(PCtxtHandle Handle
,
185 return ERROR_CALL_NOT_IMPLEMENTED
;
190 QueryContextAttributesW(PCtxtHandle Handle
,
195 return ERROR_CALL_NOT_IMPLEMENTED
;
200 AcquireCredentialsHandleA (
201 SEC_CHAR
* pszPrincipal
,
202 SEC_CHAR
* pszPackage
,
206 SEC_GET_KEY_FN pGetKeyFn
,
207 PVOID pvGetKeyArgument
,
213 return ERROR_CALL_NOT_IMPLEMENTED
;
218 AcquireCredentialsHandleW (
219 SEC_WCHAR
* pszPrincipal
,
220 SEC_WCHAR
* pszPackage
,
224 SEC_GET_KEY_FN pGetKeyFn
,
225 PVOID pvGetKeyArgument
,
231 return ERROR_CALL_NOT_IMPLEMENTED
;
236 InitializeSecurityContextW (
238 PCtxtHandle phContext
,
239 SEC_WCHAR
* pszTarget
,
243 PSecBufferDesc pInput
,
245 PCtxtHandle phNewContext
,
247 PULONG pfContextAttributes
,
252 return ERROR_CALL_NOT_IMPLEMENTED
;
257 InitializeSecurityContextA (
259 PCtxtHandle phContext
,
264 PSecBufferDesc pInput
,
266 PCtxtHandle phNewContext
,
268 PULONG pfContextAttributes
,
273 return ERROR_CALL_NOT_IMPLEMENTED
;
280 PCtxtHandle phContext
,
282 PSecBufferDesc pMessage
,
287 return ERROR_CALL_NOT_IMPLEMENTED
;
294 PCtxtHandle phContext
,
295 PSecBufferDesc pMessage
,
301 return ERROR_CALL_NOT_IMPLEMENTED
;
306 QuerySecurityPackageInfoA(
307 SEC_CHAR
* pszPackageName
,
308 PSecPkgInfoA
* ppPackageInfo
312 return ERROR_CALL_NOT_IMPLEMENTED
;
317 QuerySecurityPackageInfoW(
318 SEC_WCHAR
* pszPackageName
,
319 PSecPkgInfoW
* ppPackageInfo
323 return ERROR_CALL_NOT_IMPLEMENTED
;
328 AcceptSecurityContext(
329 PCredHandle phCredential
,
330 PCtxtHandle phContext
,
331 PSecBufferDesc pInput
,
334 PCtxtHandle phNewContext
,
335 PSecBufferDesc pOutput
,
336 ULONG
*pfContextAttr
,
341 return ERROR_CALL_NOT_IMPLEMENTED
;
347 PCredHandle hCredentials
,
348 SEC_CHAR
*pszPrincipal
,
349 SEC_CHAR
*pszPackage
,
350 ULONG fCredentialUse
,
352 SEC_GET_KEY_FN pGetKeyFn
,
353 LPVOID pvGetKeyArgument
,
358 return ERROR_CALL_NOT_IMPLEMENTED
;
364 PCredHandle hCredentials
,
365 SEC_WCHAR
*pszPrincipal
,
366 SEC_WCHAR
*pszPackage
,
367 ULONG fCredentialUse
,
369 SEC_GET_KEY_FN pGetKeyFn
,
370 LPVOID pvGetKeyArgument
,
375 return ERROR_CALL_NOT_IMPLEMENTED
;
380 ExportSecurityContext(
381 PCtxtHandle phContext
,
383 PSecBuffer pPackedContext
,
388 return ERROR_CALL_NOT_IMPLEMENTED
;
393 ImpersonateSecurityContext(
394 PCtxtHandle phContext
398 return ERROR_CALL_NOT_IMPLEMENTED
;
403 ImportSecurityContextA(
404 SEC_CHAR
*pszPackage
,
405 PSecBuffer pPackedContext
,
407 PCtxtHandle phContext
411 return ERROR_CALL_NOT_IMPLEMENTED
;
416 ImportSecurityContextW(
417 SEC_WCHAR
*pszPackage
,
418 PSecBuffer pPackedContext
,
420 PCtxtHandle phContext
424 return ERROR_CALL_NOT_IMPLEMENTED
;
429 QueryCredentialsAttributesA(
430 PCredHandle phCredential
,
436 return ERROR_CALL_NOT_IMPLEMENTED
;
441 QueryCredentialsAttributesW(
442 PCredHandle phCredential
,
448 return ERROR_CALL_NOT_IMPLEMENTED
;
453 QuerySecurityContextToken(
454 PCtxtHandle phContext
,
459 return ERROR_CALL_NOT_IMPLEMENTED
;
464 RevertSecurityContext(
465 PCtxtHandle phContext
469 return ERROR_CALL_NOT_IMPLEMENTED
;
472 PSecurityFunctionTableA
474 InitSecurityInterfaceA(VOID
)
476 DPRINT("InitSecurityInterfaceA() called\n");
477 return &securityFunctionTableA
;
483 LPCSTR lpAccountName
,
484 EXTENDED_NAME_FORMAT AccountNameFormat
,
485 EXTENDED_NAME_FORMAT DesiredNameFormat
,
486 LPSTR lpTranslatedName
,
497 LPCWSTR lpAccountName
,
498 EXTENDED_NAME_FORMAT AccountNameFormat
,
499 EXTENDED_NAME_FORMAT DesiredNameFormat
,
500 LPWSTR lpTranslatedName
,