service (ULONG) - input

      The class of Logging Service:

    • Error logging
    • Event lracing

      All other values are reserved for future use.

    pFormatEntry (PVOID) - input

      A pointer to the LogFormatEntry parameter packet.

      For Error Logging, this is a pointer to a LFEREQUEST structure.

      For Event Tracing, this is a pointer to a LFEREQUESTTRACE structure.

    rc (APIRET) - returns

      Return code.

      LogFormatEntry returns the following values:

      • NO_ERROR 
          ERROR_FILE_NOT_FOUND
        
          ERROR_LF_BUF_TOO_SMALL
        
          ERROR_LF_INVALID_SERVICE
        
          ERROR_LF_GENERAL_FAILURE
        
          INVALID_DATA_POINTER
        
          INVALID_LF_LOG_FILE_ID
        
          INVALID_LF_PACKET_REVISION_NUMBER
        
          INVALID_DATA_POINTER
        
          INVALID_LF_PARM_PACKET_PTR
        
          INVALID_LF_FLAG
        
          ERROR_LF_INVALID_PACKET_SIZE
        
          INVALID_LOG_ENTRY_RECORD
        
          NO_LOG_ENTRY_FORMAT_TEMPLATE_AVAILABLE
        
          RAS_UNICODE_CONVERSION_ERROR
        
          RAS_INVALID_LOCALE_OBJECT


        [Back: LogFormatEntry Return Value - rc]
        [Next: LogFormatEntry - Remarks]