ApiCreateNotify (Opnum 55)

(Protocol Version 2) The ApiCreateNotify method establishes context on the server about the interaction of a client with a version 1 cluster notification port by using the current RPC connection.

Upon receipt of this method, the server MUST create and maintain a queuing mechanism for posting event indications to the port, as described in section This mechanism is maintained using implementation-specific methods and protocols between servers.

The server MUST NOT queue any event indications to the port until the first event filter has been registered, as specified in ApiAddNotifyCluster (section, ApiAddNotifyNode (section, ApiAddNotifyGroup (section, ApiAddNotifyResource (section, ApiAddNotifyKey (section, ApiAddNotifyNetwork (section, and ApiAddNotifyNetInterface (section

The server MUST accept an ApiCreateNotify request only if its protocol server state is read/write, as specified in section 3.1.1.

 HNOTIFY_RPC ApiCreateNotify(
   [out] error_status_t *Status

Status: Indicates the status of this operation. The server MUST set Status to the following error codes for the specified conditions.






For any other condition, the server MUST set Status to a value that is not one of the values listed in the preceding table. The client MUST treat all values that are not listed in the preceding table the same, except as specified in section

Return Values: The method MUST return a valid HNOTIFY_RPC (section context handle, as specified in section, to indicate success; otherwise, it MUST return NULL.