Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 2.8 KB

nf-wmdmlog-iwmdmlogger-getlogfilename.md

File metadata and controls

87 lines (68 loc) · 2.8 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wmdmlog.IWMDMLogger.GetLogFileName
IWMDMLogger::GetLogFileName (wmdmlog.h)
The GetLogFileName method returns the full path to the current log file.
GetLogFileName
GetLogFileName method [windows Media Device Manager]
GetLogFileName method [windows Media Device Manager]
IWMDMLogger interface
IWMDMLogger interface [windows Media Device Manager]
GetLogFileName method
IWMDMLogger.GetLogFileName
IWMDMLogger::GetLogFileName
IWMDMLoggerGetLogFileName
wmdm.iwmdmlogger_getlogfilename
wmdmlog/IWMDMLogger::GetLogFileName
wmdm\iwmdmlogger_getlogfilename.htm
WMDM
094761e6-539c-43ca-b882-f3dd7a19a243
12/05/2018
GetLogFileName, GetLogFileName method [windows Media Device Manager], GetLogFileName method [windows Media Device Manager],IWMDMLogger interface, IWMDMLogger interface [windows Media Device Manager],GetLogFileName method, IWMDMLogger.GetLogFileName, IWMDMLogger::GetLogFileName, IWMDMLoggerGetLogFileName, wmdm.iwmdmlogger_getlogfilename, wmdmlog/IWMDMLogger::GetLogFileName
wmdmlog.h
Windows
Mssachlp.lib
Windows
19H1
IWMDMLogger::GetLogFileName
wmdmlog/IWMDMLogger::GetLogFileName
c++
APIRef
kbSyntax
COM
mssachlp.lib
mssachlp.dll
IWMDMLogger.GetLogFileName

IWMDMLogger::GetLogFileName

-description

The GetLogFileName method returns the full path to the current log file.

-parameters

-param pszFilename [out]

Pointer to a buffer to receive the log file name.

-param nMaxChars [in]

Specifies the size of the pszFilename buffer. This is the maximum number of characters that can be placed in the buffer, including the terminating NULL character.

-returns

The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:

  • Standard COM error codes
  • Windows error codes converted to HRESULT values
  • Windows Media Device Manager error codes
For an extensive list of possible error codes, see Error Codes.

-remarks

The default log file is < Windows directory >\System32\Wmdm.log.

-see-also

Enabling Logging

IWMDMLogger Interface