cwbUP_GetEntryAttributes

Purpose

Gets the attributes of the update entry. These include: one pass update, file driven update, package driven update, and update subdirectories. Any combination of these is valid.

Syntax

 
unsigned int CWB_ENTRY cwbUP_GetEntryAttributes(
                             cwbUP_EntryHandle entryHandle,
                             unsigned long *entryAttributes);

Parameters

cwbUP_EntryHandle entryHandle - input
Handle that was returned by a previous call to cwbUP_CreateUpdateEntryHandle, cwbUP_GetUpdateEntryHandle, or to cwbUP_FindEntry.
unsigned long * entryAttributes - input/output
Pointer to area to receive the attribute values. (See defines section for values)

Return Codes

The following list shows common return values.

CWB_OK
Successful completion.
CWB_INVALID_HANDLE
Update entry handle is not valid.
CWB_INVALID_POINTER
NULL passed as an address parameter.

Usage

The value that is contained in entryAttributes after this call is made may be a combination of the attribute flags that are listed near the top of this file.