Changeset 498 for trunk/Utilities/Miscellaneous/FilterGraphService/FilterGraphService/Application.cpp
- Timestamp:
- Jul 31, 2015, 11:08:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Miscellaneous/FilterGraphService/FilterGraphService/Application.cpp
r496 r498 31 31 // Impersonation Level of RPC_C_IMP_LEVEL_IDENTIFY 32 32 // and an appropriate Non NULL Security Descriptor. 33 _ATLTRY 34 { 35 static const DWORD g_nAuthenticationLevel = RPC_C_AUTHN_LEVEL_PKT; 36 static const DWORD g_nImpersonationLevel = RPC_C_IMP_LEVEL_IMPERSONATE; 37 static const DWORD g_nAuthenticationCapabilities = EOAC_NONE; 38 ATLENSURE_SUCCEEDED(CoInitializeSecurity(NULL, -1, NULL, NULL, g_nAuthenticationLevel, g_nImpersonationLevel, NULL, g_nAuthenticationCapabilities, NULL)); 39 } 40 _ATLCATCHALL() 41 { 42 ATLTRACE(_T("An exception has been caught\n")); 43 } 33 44 return S_OK; 34 45 }
Note: See TracChangeset
for help on using the changeset viewer.