Mercurial > dwindows
comparison win/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 |
---|---|
12817 | 12817 |
12818 /* | 12818 /* |
12819 * Sets the application ID used by this Dynamic Windows application instance. | 12819 * Sets the application ID used by this Dynamic Windows application instance. |
12820 * Parameters: | 12820 * Parameters: |
12821 * appid: A string typically in the form: com.company.division.application | 12821 * appid: A string typically in the form: com.company.division.application |
12822 * appguid: A globally unique identifier required on Windows or NULL. | |
12822 * Returns: | 12823 * Returns: |
12823 * DW_ERROR_NONE after successfully setting the application ID. | 12824 * DW_ERROR_NONE after successfully setting the application ID. |
12824 * DW_ERROR_UNKNOWN if unsupported on this system. | 12825 * DW_ERROR_UNKNOWN if unsupported on this system. |
12825 * DW_ERROR_GENERAL if the application ID is not allowed. | 12826 * DW_ERROR_GENERAL if the application ID is not allowed. |
12826 * Remarks: | 12827 * Remarks: |
12827 * This must be called before dw_init(). If dw_init() is called first | 12828 * This must be called before dw_init(). If dw_init() is called first |
12828 * it will create a unique ID in the form: org.dbsoft.dwindows.application | 12829 * it will create a unique ID in the form: org.dbsoft.dwindows.application |
12829 * or if the application name cannot be detected: org.dbsoft.dwindows.pid.# | 12830 * or if the application name cannot be detected: org.dbsoft.dwindows.pid.# |
12830 */ | 12831 * The GUID is only required on Windows, NULL can be passed on other platforms. |
12831 int dw_app_id_set(const char *appid) | 12832 */ |
12833 int dw_app_id_set(const char *appid, const char *appguid) | |
12832 { | 12834 { |
12833 return DW_ERROR_UNKNOWN; | 12835 return DW_ERROR_UNKNOWN; |
12834 } | 12836 } |
12835 | 12837 |
12836 /* | 12838 /* |