Home
last modified time | relevance | path

Searched refs:printerIdList (Results 1 - 3 of 3) sorted by relevance

/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp225 Print_ErrorCode OH_Print_QueryPrinterList(Print_StringList *printerIdList) in OH_Print_QueryPrinterList() argument
227 if (printerIdList == nullptr) { in OH_Print_QueryPrinterList()
228 PRINT_HILOGW("printerIdList is null."); in OH_Print_QueryPrinterList()
238 printerIdList->list = new (std::nothrow) char *[count]; in OH_Print_QueryPrinterList()
239 if (printerIdList->list == nullptr) { in OH_Print_QueryPrinterList()
240 PRINT_HILOGW("printerIdList->list is null"); in OH_Print_QueryPrinterList()
243 if (memset_s(printerIdList->list, count * sizeof(char *), 0, count * sizeof(char *)) != 0) { in OH_Print_QueryPrinterList()
244 delete[] printerIdList->list; in OH_Print_QueryPrinterList()
245 printerIdList->list = nullptr; in OH_Print_QueryPrinterList()
250 printerIdList in OH_Print_QueryPrinterList()
256 OH_Print_ReleasePrinterList(Print_StringList *printerIdList) OH_Print_ReleasePrinterList() argument
[all...]
/base/print/print_fwk/frameworks/ohprint/include/
H A Dohprint.h666 * @param printerIdList A pointer to a {@link Print_StringList} instance to store the queried printer id list.
669 * {@link PRINT_ERROR_INVALID_PARAMETER} printerIdList is NULL.
675 Print_ErrorCode OH_Print_QueryPrinterList(Print_StringList *printerIdList);
680 * @param printerIdList The queried printer id list to be released.
684 void OH_Print_ReleasePrinterList(Print_StringList *printerIdList);
/base/print/print_fwk/services/print_service/src/
H A Dprint_service_ability.cpp434 std::vector<std::string> printerIdList = printSystemData_.QueryAddedPrinterIdList(); in StartDiscoverPrinter() local
435 for (auto &printerId : printerIdList) { in StartDiscoverPrinter()

Completed in 8 milliseconds