cwbUN_ConvertPidlToString

Purpose

Converts an iSeries™ Navigator item identifier list to a fully-qualified object name.

Syntax

CWBAPI unsigned int WINAPI cwbUN_ConvertPidlToString(
    LPCITEMIDLIST pidl,
    char * szObjectName,
    UINT cchMax
    );

Parameters

LPCITEMIDLIST pidl - input
Pointer to the ITEMIDLIST (item identifier list) structure that is to be converted.
char * szObjectName - output
Address of the buffer that will receive the null-terminated object name.
UINT cchMax - input
Size of the buffer that will receive the null-terminated object name.

Return Codes

The following list shows common return values:

CWB_OK
Successful completion.
CWBUN_FORMAT_NOT_VALID
The specified item identifier list is not valid.
WB_BUFFER_OVERFLOW
The buffer is too small to contain the returned string.

Usage

None