![]() |
CFNumberGetValue |
||||
Header: | CFNumber.h | Carbon status: | Supported | |
Obtains the value of the specified CFNumber object.
Boolean CFNumberGetValue ( CFNumberRef number, CFNumberType numType, void *valuePtr );
The CFNumber object whose value you wish to obtain.
A constant indicating the data type you wish returned to you. See CFNumber Type Flags for a list of possible values.
A pointer to the storage that will receive the CFNumber object's value.
TRUE if the operation was successful. FALSE if an error occurred.
If a conversion is necessary, the conversion rules follow human expectation and not C promotion and truncation rules. If the conversion is lossy, or the value is out of range, FALSE is returned.
Supported in Carbon. Available in CarbonLib 1.0 and later when CoreFoundationLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CoreFoundationLib 1.0 and later.