TSecurityInfo Class Reference

class TSecurityInfo

Class representing all security attributes of a process or DLL. These comprise a set of capabilities, a Secure ID and a Vendor ID.

Constructor & Destructor Documentation

TSecurityInfo()

TSecurityInfo ( ) [inline]

Default constructor. This leaves the object in an undefned state.

TSecurityInfo(RProcess)

IMPORT_C TSecurityInfo ( RProcess aProcess )

Construct a TSecurityInfo setting it to the security attributes of aProcess.

Parameters

RProcess aProcess A process.

TSecurityInfo(RThread)

IMPORT_C TSecurityInfo ( RThread aThread )

Construct a TSecurityInfo setting it to the security attributes to those of the process owning the specified thread.

Parameters

RThread aThread A thread.

TSecurityInfo(RMessagePtr2)

IMPORT_C TSecurityInfo ( RMessagePtr2 aMesPtr )

Construct a TSecurityInfo setting it to the security attributes of the process which sent the message aMsgPtr

Parameters

RMessagePtr2 aMesPtr a message

Member Functions Documentation

Set(RProcess)

void Set ( RProcess aProcess ) [inline]

Constructs a TSecurityInfo using the security attributes of aProcess

Parameters

RProcess aProcess

Set(RThread)

void Set ( RThread aThread ) [inline]

Constructs a TSecurityInfo using the security attributes of the process owning aThread

Parameters

RThread aThread

Set(RMessagePtr2)

void Set ( RMessagePtr2 aMsgPtr ) [inline]

Constructs a TSecurityInfo using the security attributes of the process which sent the message aMsgPtr

Parameters

RMessagePtr2 aMsgPtr

Set(RSessionBase)

TInt Set ( RSessionBase aSession )

Parameters

RSessionBase aSession

SetToCreatorInfo()

IMPORT_C void SetToCreatorInfo ( )

Sets this TSecurityInfo to the security attributes of this process' creator.

SetToCurrentInfo()

void SetToCurrentInfo ( ) [inline]

Sets this TSecurityInfo to the security attributes of this process.

Member Data Documentation

TCapabilitySet iCaps

TCapabilitySet iCaps

Capability Set

TSecureId iSecureId

TSecureId iSecureId

Secure ID

TVendorId iVendorId

TVendorId iVendorId

Vendor ID