script0009   [plain text]


//
// script0009
//
//		KCFindFirstItem
//
// Find the first item of an empty keychain
// 
3 KCMakeKCRefFromFSSpec
   Input Arguments : 1
      KeychainFile : test0009.001
   Results : 2
      OSStatus 0
      KeychainIndex : 0
14 KCCreateKeychain
   Input Arguments : 2
      KeychainIndex : 0
      Password : Apple
   Results : 2
      OSStatus 0
      KeychainIndex : 0
8 KCUnlock
   Input Arguments : 2
     KeychainIndex : 0
     Password : Apple
   Results : 1
     OSStatus 0
13 KCSetDefaultKeychain
   Input Arguments : 1
     KeychainIndex : 0
   Results : 1
     OSStatus 0
48 KCFindFirstItem
   Input Arguments : 2
     KeychainIndex : 0
     AttributeList : 
     .count : 0
   Results : 3
     OSStatus -25300
     SearchIndex : 0
     ItemIndex : 0
50 KCReleaseSearch
   Input Arguments : 1
     SearchIndex : 0
   Results : 1
     OSStatus -25305
6 KCReleaseKeychain
   Input Arguments : 2
      KeychainIndex : 0
   Results : 1
      OSStatus 0