service (ULONG) - input

      The class of Logging Service:

    • Error Logging

      All other values are reserved for future use.

    pWaitEvent (PVOID) - in/out

      A pointer to the LogWaitEvent parameter packet.

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

    rc (APIRET) - returns

      Return code.

      LogWaitEvent returns the following values:

      • NO_ERROR 
          ERROR_LF_BUF_TOO_SMALL
        
          ERROR_LF_INVALID_SERVICE
        
          INVALID_DATA_POINTER
        
          INVALID_LF_PACKET_REVISION_NUMBER
        
          INVALID_LF_FILENAME_LENGTH
        
          INVALID_LF_FILENAME_PTR
        
          INVALID_LF_PARM_PACKET_PTR
        
          INVALID_LOGRECORD_BUFFER_PTR
        
          INVALID_LF_FLAG
        
          RAS_INVALID_LOG_NOTIFY_ID
        
          RAS_INVALID_PACKET_SIZE
        
          ERROR_LF_TIMEOUT
        
          RAS_INVALID_EVENTKEY_PTR
        
          RAS_INVALID_PATHLEN_PTR
        
          RAS_INVALID_BUFLEN_PTR


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