GetAssertionFile

This function gets the file location as stored/set internally where internal assertions should be written to. It works independent if the file location is set through SetAssertionFile() or SetAssertionFileW().

Syntax

//
//   Strong typing definition
//
const char      * GetAssertionFile(
                        const char              ** fileName
                    );

static  inline  const char  * GetAssertionFile(
                                    char                    ** fileName
                                )
{
    return  GetAssertionFile(
                    (const char**) fileName
                );
}

static  inline  const char  * GetAssertionFile(
                                )
{
    return  GetAssertionFile(
                    (const char**) nullptr              //    fileName
                );
}


//
//   Weak typing definition
//
const char  __declspec(dllexport) * __stdcall   GetAssertionFile(
                                                        const char              ** fileName
                                                    );

static  inline  const char  * GetAssertionFile(
                                    char                    ** fileName
                                )
{
    return  GetAssertionFile(
                    (const char**) fileName
                );
}

static  inline  const char  * GetAssertionFile(
                                )
{
    return  GetAssertionFile(
                    (const char**) nullptr              //    fileName
                );
}
    

Property fileName

Size: 32 bit / 4 byte (reference)
The file name of the file as available in the file system in ASCII (char *). The given pointer to the array will be filled with the file name / path as available in the library if set or otherwise filled with a null pointer. the memory is allocaed by the library and available as long as the library is active.