COM settings in OPC Classic client components

From OPC Labs Knowledge Base
Revision as of 12:37, 16 October 2021 by User (talk | contribs) (Created page with "Category:Troubleshooting CoInitializeSecurity parameters: * Without TurnOffCallSecurity: dwAuthnLevel = RPC_C_AUTHN_LEVEL_CONNECT (2), dwImpLevel = RPC_C_IMP_LEVEL_IMPERSO...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CoInitializeSecurity parameters:

  • Without TurnOffCallSecurity: dwAuthnLevel = RPC_C_AUTHN_LEVEL_CONNECT (2), dwImpLevel = RPC_C_IMP_LEVEL_IMPERSONATE (3), pSecDesc = <by CSecurityDescriptor::InitializeFromThreadToken()>
  • With TurnOffCallSecurity: dwAuthnLevel = RPC_C_AUTHN_LEVEL_NONE (1), dwImpLevel = RPC_C_IMP_LEVEL_IMPERSONATE (3), pSecDesc = NULL