code_junkie

SEL_E_SECPKG_NOT_FOUND error from AcquireCredentialsHandle()

Nov 13th, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Status = g_Sample_SecurityInit._SecurityFunc.AcquireCredentialsHandleA(
  2. NULL, // Name of principal
  3. UNISP_NAME_A, // Name of package
  4. SECPKG_CRED_OUTBOUND, // Flags indicating use
  5. NULL, // Pointer to logon ID
  6. &m_SchannelCred, // Package specific data
  7. NULL, // Pointer to GetKey() func
  8. NULL, // Value to pass to GetKey()
  9. &m_hClientCreds, // (out) Cred Handle
  10. &tsExpiry); // (out) Lifetime (optional)
Add Comment
Please, Sign In to add comment