MKI_FileGetStandardPath (File I/O) Changed in Version 2024.1

www.CAD6.com

C++ Syntax

bool

MKI_FileGetStandardPath(

 __int32 f_nPathID,

 MKI_FILENAMEW& f_rPathName );

 

Retrieves a standard system path from the serving application.

 

Parameters

PathID

[__int32] Identifier of the standard path that shall be returned. The following IDs are currently defined:

 

MKI_STANDARDPATH_INF

First standard path for setting files (*.inf). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_MKD

First standard path for drawing files (*.mkd). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_MKL

First standard path for library files (*.mkl). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_SVG New in Version 2024.1

First standard path for scalable vector graphics (*.svg). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_EMF

First standard path for enhanced metafiles (*.emf). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_WMF

First standard path for Windows metafiles (*.inf). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_BMP

First standard path for bitmap files (*.*). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_DIG

First standard path for digitizer setting files (*.dig). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_FLT

First standard path for import/export filter files (*.*). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_ATT

First standard path for attribute text files (*.txt). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_DBF New in Version 6.60

First standard path for database files (*.csv). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

 

MKI_STANDARDPATH_PDF New in Version 6.60

First standard path for PDF files (*.pdf). To retrieve the other paths for this type of files, add 1 through ( MKI_DEFPATH_MAX - 1 ) to this value.

PathName

[MKI_FILENAMEW&] Address of text buffer to receive the path name.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH