|
JWSCL Documentation
|
class procedure CoInitializeSecurity(pSecDesc: Pointer; cAuthSvc: LONG; asAuthSvc: PSOLE_AUTHENTICATION_SERVICE; dwAuthnLevel: TJwComAuthenticationLevel; dwImpLevel: TJwComImpersonationLevel; pAuthList: Pointer; dwCapabilities: TJwComAuthenticationCapabilities; IgnoreProcess: Boolean); virtual;
|
Parameters |
Description |
|
pSecDesc: Pointer |
See the MSDN for more information. __in_opt __in |
|
cAuthSvc: LONG |
See the MSDN for more information. __in_opt |
|
asAuthSvc: PSOLE_AUTHENTICATION_SERVICE |
See the MSDN for more information. __in |
|
dwAuthnLevel: TJwComAuthenticationLevel |
dwAuthnLevel defines two different things for Client and Server.
|
|
dwImpLevel: TJwComImpersonationLevel |
See the MSDN for more information. __in_opt |
|
pAuthList: Pointer |
See the MSDN for more information. __in |
|
IgnoreProcess: Boolean |
Set to false to validate the current process name; otherwise the validation isn't done. See Remarks for more information. |
The method CoInitializeSecurity wraps the COM API CoInitializeSecurity using converted parameters and exceptions. See the MSDN for more information.
If parameter IgnoreProcess is set to false the method checks whether the current process can be found in the array JwKnownComHostProcesses. If this check succeeds the exception EJwsclProcessNotFound is raised.
|
Exceptions |
Description |
|
The current process name was found in the list JwKnownComHostProcesses. | |
|
The CoInitializeSecurity failed because CoInitialize was not called at first. | |
|
CoInitializeSecurity failed of another reason. |
|
Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc. |
|
What do you think about this topic? Send feedback!
|