Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32cmn.h

_INIT_SECURITY_POLICY_FAIL

_INIT_SECURITY_POLICY_FAIL {                                                                        \
    FOUR_TUINT8(                                                            \
        (TUint8)TSecurityPolicy::ETypeFail,                                 \
        (TUint8)0xff,                                                       \
        (TUint8)0xff,                                                       \
        (TUint8)0xff                                                        \
    ),                                                                      \
    (TUint32)0xffffffff                                                     \
    }

Description

Macro for compile-time initialisation of a security policy object that always fails. That is, checks against this policy will always fail, irrespective of the security attributes of the item being checked.

The object declared has an implicit conversion to const TSecurityPolicy&. Taking the address of the object will return a const TSecurityPolicy*. Explicit conversion to const TSecurityPolicy& may be effected by using the function call operator n().