Share

AcTcStockTool::GetModuleFileName

C++

int GetModuleFileName(
    LPTSTR pszString, 
    int cchSize
) const;

Description

Gets the file name (with the relative or full path) of the DLL that contains the COM object implementing the stock tool.

If the function succeeds, the return value is the length, in characters, of the copied string, excluding the terminating null character.

Parameters

Parameters Description
pszString Output pointer to the buffer that receives the file path; if NULL, the length, in characters, of the string, excluding the terminating null character, is returned
cbSize Input maximum number of characters to copy to the buffer, including the NULL character; if the text exceeds the limit, it is truncated

Links

AcTcStockTool

Was this information helpful?