GetLatestPrinterNamesA
Rendering and printing
Description
The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetLatestPrinterNames and string arguments are interpreted using the current SetAnsiMode code page
Similar to the GetPrinterNames function but returns the latest list of printers rather than the cached list that was enumerated when the app started. This function may take some time to execute depending on the number of network printers installed.
Syntax
Delphi
Function DLGetLatestPrinterNamesA(InstanceID: Integer): PAnsiChar;
DLL
const char * DLGetLatestPrinterNamesA(int InstanceID);