GetAssertionFileW

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 wchar_t   * GetAssertionFileW(
                        const wchar_t           ** fileName
                    );

static  inline  const wchar_t   * GetAssertionFileW(
                                        wchar_t                 ** fileName
                                    )
{
    return  GetAssertionFileW(
                    (const wchar_t**) fileName
                );
}

static  inline  const wchar_t   * GetAssertionFileW(
                                    )
{
    return  GetAssertionFileW(
                    (const wchar_t**) nullptr           //    fileName
                );
}


//
//   Weak typing definition
//
const wchar_t   __declspec(dllexport) * __stdcall   GetAssertionFileW(
                                                            const wchar_t           ** fileName
                                                        );

static  inline  const wchar_t   * GetAssertionFileW(
                                        wchar_t                 ** fileName
                                    )
{
    return  GetAssertionFileW(
                    (const wchar_t**) fileName
                );
}

static  inline  const wchar_t   * GetAssertionFileW(
                                    )
{
    return  GetAssertionFileW(
                    (const wchar_t**) nullptr           //    fileName
                );
}
    

Property fileName

Size: 32 bit / 4 byte (reference)
The file name of the file as available in the file system in Unicode (wchar_t *). 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.