Windows Event Log Error Constants
出處 http://msdn.microsoft.com/en-us/library/aa820708(VS.85).aspx The following are the error codes that Windows Event Log defines. ERROR_EVT_INVALID_CHANNEL_PATH 15000 The specified channel path is not valid. ERROR_EVT_INVALID_QUERY 15001 The specified query is not valid. ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND 15002 The provider metadata cannot be found in the resource. ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND 15003 The template for an event definition cannot be found in the resource. ERROR_EVT_INVALID_PUBLISHER_NAME 15004 The specified provider name is not valid. ERROR_EVT_INVALID_EVENT_DATA 15005 The event data raised by the provider is not compatible with the event template definition in the provider's manifest. ERROR_EVT_CHANNEL_NOT_FOUND 15007 The specified channel cannot be found. Check the channel configuration. ERROR_EVT_MALFORMED_XML_TEXT 15008 The specified XML text was not well-formed. For more information, call the EvtGe