Carbon


KCCallbackInfo

Header: Keychain.h

Contains information about a keychain event.

struct KCCallbackInfo {
    UInt32 version; 
    KCItemRef item; 
    ProcessSerialNumber processID; 
    EventRecord event; 
    KCRef keychain;
};

Field descriptions

version

The version of this structure.

item

A reference to the keychain item in which the event occurred. If the event did not involve an item, this field is not valid.

processID

A 64-bit quantity containing the process serial number of the process in which the event occurred.

event

The keychain event that occurred. If the event is a system event as indicated by kSystemKCEvent, the Keychain client can process events. If the event is not a system event, this field is not valid.

keychain

A reference to the keychain in which the event occurred. If the event did not involve a keychain, this field is not valid.

The KCCallbackInfo type represents a structure that contains information about the keychain event that your application wants to be notified of. The Keychain Manager passes a pointer to this structure in the info parameter of your callback function via the function InvokeKCCallbackUPP, which invokes your callback function. For information on how to write a keychain event callback function, see KCCallbackProcPtr.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)