Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
将通知发送到与给定名称匹配的所有队列。
public ul_u_long ULSendNotificationW( SQLCA * sqlca, ul_wchar const * queue_name, ul_wchar const * event_name, ul_wchar const * parameters )
sqlca 指向 SQLCA 的指针。
queue_name NULL 表示缺省连接队列。
event_name 要注册的系统事件或用户定义的事件。
parameters 创建参数;目前未使用,设置为 NULL。
已发送的通知数(匹配队列的数目)。
此方法原型当您在 Win32 平台上引用 ULSendNotification 和 #define the UNICODE 宏时内部使用。通常,您创建 UltraLite 应用程序时不会直接引用此方法。
这包括当前连接中任何此类队列。此调用不会阻塞。使用特殊队列名称 "*" 发送到所有队列。给定的事件名称不需要与任何系统或用户定义的事件对应;传递它仅仅是为读取时标识通知,并且它只对发送者和接收者有意义。这些 parameters 变量会指定分号分隔的 "名称=值" 对选项列表。在读取通知后,参数值使用 GetNotificationParameter() 读取。