NetAlertRaise

The NetAlertRaise function notifies all registered clients that a particular event occurred.

Security Requirements

No special group membership is required to successfully execute NetAlertRaise.

NET_API_STATUS NetAlertRaise(

LPTSTR AlertEventName,  
LPVOID Buffer,  
DWORD BufferSize  
);  

Parameters

AlertEventName

Pointer to a Unicode string that specifies the interrupting message to raise.

Buffer

Pointer to the data to be sent to the clients listening for this interrupting message. The data should consist of the STD_ALERT structure followed by any additional interrupting message data from the ADMIN_OTHER_INFO, ERRLOG_OTHER_INFO, PRINT_OTHER_INFO, and USER_OTHER_INFO data structures.

BufferSize

Specifies in bytes, the size of the buffer.

See Also

NetAlertRaiseEx