SetWakeOnMagicPacketSupport
Tells the system whether the device supports being woken up when a specially formatted packet arrives.
Declaration
kern_return_t SetWakeOnMagicPacketSupport(bool isSupported);Parameters
- isSupported:
If
YES, the device supports waking up when the network receives a magic packet; otherwise, it doesn’t.
Return Value
kIOReturnSuccess on success, or another value if an error occurred.