comparison template/dw.c @ 1115:03cd2f3e929d

Fixed a documentation and template error regarding dw_browse() return code. Also fixed the Windows success return code to match what is expected. And switched to using the error constants for returns.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 04 Aug 2011 21:34:53 +0000
parents b58032a619b9
children 9ca5de2e59f8
comparison
equal deleted inserted replaced
1114:e3f0528f6c16 1115:03cd2f3e929d
3370 /* 3370 /*
3371 * Loads a web browser pointed at the given URL. 3371 * Loads a web browser pointed at the given URL.
3372 * Parameters: 3372 * Parameters:
3373 * url: Uniform resource locator. 3373 * url: Uniform resource locator.
3374 * Returns: 3374 * Returns:
3375 * DW_ERROR_NONE (0) on success. 3375 * DW_ERROR_UNKNOWN (-1) on error; DW_ERROR_NONE (0) or a positive Process ID on success.
3376 */ 3376 */
3377 int dw_browse(char *url) 3377 int dw_browse(char *url)
3378 { 3378 {
3379 return DW_ERROR_GENERAL; 3379 return DW_ERROR_UNKNOWN;
3380 } 3380 }