diff 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
line wrap: on
line diff
--- a/os2/dw.c	Thu May 14 23:27:56 2020 +0000
+++ b/os2/dw.c	Thu May 14 23:40:34 2020 +0000
@@ -13310,6 +13310,7 @@
  * Sets the application ID used by this Dynamic Windows application instance.
  * Parameters:
  *         appid: A string typically in the form: com.company.division.application
+ *         appguid: A globally unique identifier required on Windows or NULL.
  * Returns:
  *         DW_ERROR_NONE after successfully setting the application ID.
  *         DW_ERROR_UNKNOWN if unsupported on this system.
@@ -13318,8 +13319,9 @@
  *          This must be called before dw_init().  If dw_init() is called first
  *          it will create a unique ID in the form: org.dbsoft.dwindows.application
  *          or if the application name cannot be detected: org.dbsoft.dwindows.pid.#
- */
-int dw_app_id_set(const char *appid)
+ *          The GUID is only required on Windows, NULL can be passed on other platforms.
+ */
+int dw_app_id_set(const char *appid, const char *appguid)
 {
     return DW_ERROR_UNKNOWN;
 }