NetAlertRaiseEx

The NetAlertRaiseEx function simplifies the raising of an Administrators interrupting message.

Security Requirements

No special group membership is required to successfully execute NetAlertRaiseEx.

NET_API_STATUS NetAlertRaiseEx(
  LPWSTR AlertEventName,  
  LPVOID VariableInfo,    
  DWORD VariableInfoSize,  
  LPWSTR ServiceName      
);
 

Parameters

AlertEventName
Pointer to a Unicode string that specifies which type of interrupting message to raise.
VariableInfo
Information to put into the Administrators interrupting message.
VariableInfoSize
Number of bytes of variable information.
ServiceName
Name of the service raising the Administrators interrupting message.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in lmalert.h.
  Import Library: Use netapi32.lib.

See Also

Networking (Net) Overview, Net Functions, NetAlertRaiseEx