Replaced hardcoded error constants with appropriate macros.
Replaced hardcoded error constants with appropriate macros.

samdmarshall/SDMMobileDevice,samdmarshall/SDMMobileDevice,samdmarshall/SDMMobileDevice,samdmarshall/SDMMobileDevice,samdmarshall/SDMMobileDevice,samdmarshall/SDMMobileDevice