service (ULONG) - input

      The class of Logging Service:

    • Error logging
    • Event tracing

      All other values are reserved for future use.

    pCloseFile (PVOID) - input

      A pointer to the LogCloseFile parameter packet.

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

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

    rc (APIRET) - returns

      Return code.

      LogCloseFile returns one of the following values:

      • NO_ERROR 
          ERROR_LF_BUF_TOO_SMALL
        
          ERROR_ACCESS_DENIED
        
          ERROR_LF_INVALID_SERVICE
        
          INVALID_DATA_POINTER
        
          INVALID_LF_LOG_FILE_ID
        
          INVALID_LF_PACKET_REVISION_NUMBER
        
          INVALID_DATA_POINTER
        
          INVALID_LF_PARM_PACKET_PTR
        
          ERROR_LF_INVALID_PACKET_SIZE


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