API Guide Home (Online version only) |

# _PalmPhotoSelectionParam Struct Reference

Collaboration diagram for _PalmPhotoSelectionParam:

[legend]

## Detailed Description

Photo selection dialog parameters.

This structure is used for the selection dialog and direct image selection. When using the PMPSelectImages API, selectionCount contains the maximum number of images that can be selected. If selectionCount is set to PALM_PHOTO_SELECT_ALL, the range would be [offset, end]. If albumID is set to PALM_PHOTO_ALBUM_ALL, all images can be selected.

NOTE: The API allocates memory inside of selectedImages. It is the caller's responsibility to free that memory via PalmPhotoFreeSelections().

Definition at line 134 of file palmOnePhoto.h.

## Data Fields

- UInt16 albumID
- UInt16 reserved
- UInt32 offset
- Int32 selectionCount
- PalmPhotoFilterCallback filterCallback
- void * userDataP
- PalmPhotoSelections selectedImages

## Field Documentation

UInt16 albumID

IN: Album ID for selection.

Definition at line 136 of file palmOnePhoto.h.

UInt16 reserved

reserved for future use

Definition at line 137 of file palmOnePhoto.h.

UInt32 offset

IN: Range start.

Definition at line 138 of file palmOnePhoto.h.

Int32 selectionCount

IN: Number of images to select.

Definition at line 139 of file palmOnePhoto.h.

PalmPhotoFilterCallback filterCallback

IN: Callback to filter the selections.

Definition at line 140 of file palmOnePhoto.h.

void* userDataP

IN: User data to be passed during callback.

Definition at line 141 of file palmOnePhoto.h.

PalmPhotoSelections selectedImages

OUT: Struct containing handle array.

Definition at line 142 of file palmOnePhoto.h.

Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:08:09 2008 for Palm API Guide