dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::redirect::setup Class Reference

a stream's lines into the application installation log at an event level, beside its other sinks: what a driver package installer reports reaches the log Windows keeps of installations, a custom action without a session included More...

#include <dx_install.h>

Inheritance diagram for dx::redirect::setup:
Collaboration diagram for dx::redirect::setup:

Public Member Functions

 setup (std::ostream &ostream, ::DWORD level)

Static Public Attributes

static constexpr ::DWORD cerr {TXTLOG_ERROR}
 the application log keeps TXTLOG_SUMMARY and below by default
static constexpr ::DWORD clog {TXTLOG_SUMMARY}
static constexpr ::DWORD cout {TXTLOG_SUMMARY}

Protected Member Functions

std::streamsize xsputn (const char *data, std::streamsize count) override

Detailed Description

a stream's lines into the application installation log at an event level, beside its other sinks: what a driver package installer reports reaches the log Windows keeps of installations, a custom action without a session included

The log is windir%\INF\setupapi.app.log. An application's entry reaches it through LOGTOKEN_UNSPECIFIED alone: LOGTOKEN_SETUPAPI_APPLOG and LOGTOKEN_SETUPAPI_DEVLOG write nothing, and the device installation log (setupapi.dev.log) takes no entry of an application. An entry holds at most 336 characters; SetupWriteTextLog (forwarded to devrtl) formats wide, a narrow string argument is hs.

What is written is set in HKLM\Software\Microsoft\Windows\CurrentVersion\Setup (REG_DWORD):

  • LogLevel 0xUUUUGHVW: VW the application log, GH the device log - 0 its default (application log TXTLOG_SUMMARY, device log TXTLOG_DETAILS), 0x01..0x0F the log off, 0x10..0x7F on at event level V (G); the value absent or 0 both at their defaults
  • LogMask: the event categories written, absent all of them, 0 none

Constructor & Destructor Documentation

◆ setup()

dx::redirect::setup::setup ( std::ostream & ostream,
::DWORD level )
inline

Member Function Documentation

◆ xsputn()

std::streamsize dx::redirect::line::xsputn ( const char * data,
std::streamsize count )
inlineoverrideprotectedinherited

Member Data Documentation

◆ cerr

::DWORD dx::redirect::setup::cerr {TXTLOG_ERROR}
static

the application log keeps TXTLOG_SUMMARY and below by default

◆ clog

::DWORD dx::redirect::setup::clog {TXTLOG_SUMMARY}
static

◆ cout

::DWORD dx::redirect::setup::cout {TXTLOG_SUMMARY}
static

The documentation for this class was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.