This function takes the following parameters:
Pointer to a properties object.
Pointer to the key in the properties object.
Value to return if none is defined for the specified key.
Pointer to the location where the returned integer will be stored.