DHCPInfoGetLeaseStartTime

Function DHCPInfoGetLeaseStartTime 

Source
pub unsafe extern "C-unwind" fn DHCPInfoGetLeaseStartTime(
    info: &CFDictionary,
) -> Option<CFRetained<CFDate>>
Available on crate feature SCDynamicStoreCopyDHCPInfo only.
Expand description

Returns a CFDateRef corresponding to the lease start time, if present.

Parameter info: The non-NULL DHCP information dictionary returned by calling SCDynamicStoreCopyDHCPInfo.

Returns: Returns a non-NULL CFDateRef if lease start time information is present; NULL if the information is not present or if the configuration method is not DHCP.

The return value must NOT be released.

ยงSafety

info generics must be of the correct type.