Mercurial > dwindows
comparison os2/dw.c @ 2069:b4b49d29b940
Win: Windows 10 requires a GUID for Toast activation, so add that to dw_app_id_set().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 14 May 2020 23:40:34 +0000 |
parents | ade83a05a7d8 |
children | 24875681eec5 |
comparison
equal
deleted
inserted
replaced
2068:ade83a05a7d8 | 2069:b4b49d29b940 |
---|---|
13308 | 13308 |
13309 /* | 13309 /* |
13310 * Sets the application ID used by this Dynamic Windows application instance. | 13310 * Sets the application ID used by this Dynamic Windows application instance. |
13311 * Parameters: | 13311 * Parameters: |
13312 * appid: A string typically in the form: com.company.division.application | 13312 * appid: A string typically in the form: com.company.division.application |
13313 * appguid: A globally unique identifier required on Windows or NULL. | |
13313 * Returns: | 13314 * Returns: |
13314 * DW_ERROR_NONE after successfully setting the application ID. | 13315 * DW_ERROR_NONE after successfully setting the application ID. |
13315 * DW_ERROR_UNKNOWN if unsupported on this system. | 13316 * DW_ERROR_UNKNOWN if unsupported on this system. |
13316 * DW_ERROR_GENERAL if the application ID is not allowed. | 13317 * DW_ERROR_GENERAL if the application ID is not allowed. |
13317 * Remarks: | 13318 * Remarks: |
13318 * This must be called before dw_init(). If dw_init() is called first | 13319 * This must be called before dw_init(). If dw_init() is called first |
13319 * it will create a unique ID in the form: org.dbsoft.dwindows.application | 13320 * it will create a unique ID in the form: org.dbsoft.dwindows.application |
13320 * or if the application name cannot be detected: org.dbsoft.dwindows.pid.# | 13321 * or if the application name cannot be detected: org.dbsoft.dwindows.pid.# |
13321 */ | 13322 * The GUID is only required on Windows, NULL can be passed on other platforms. |
13322 int dw_app_id_set(const char *appid) | 13323 */ |
13324 int dw_app_id_set(const char *appid, const char *appguid) | |
13323 { | 13325 { |
13324 return DW_ERROR_UNKNOWN; | 13326 return DW_ERROR_UNKNOWN; |
13325 } | 13327 } |
13326 | 13328 |
13327 /* | 13329 /* |