API Guide Home (Online version only) |

# _PalmPhotoFileLocation Struct Reference

## Detailed Description

Photo file location.

This structure is used to open, create and query location information of an image.

Definition at line 325 of file palmOnePhotoCommon.h.

## Data Fields

- PalmPhotoLocationType fileLocationType
- UInt16 reserved
- union {
  - struct {
    - Char name [dmDBNameLength]
    - UInt32 type
    - UInt32 creator
  - } StreamFile
  - struct {
    - Char name [PALM_PHOTO_MAX_PATH+1]
    - UInt16 volumeRef
    - UInt16 reserved
  - } VFSFile
  - struct {
    - void * bufferP
    - UInt32 bufferSize
  - } MemoryFile
- } file

## Field Documentation

PalmPhotoLocationType fileLocationType

File location type.

Definition at line 327 of file palmOnePhotoCommon.h.

UInt16 reserved

reserved for future use

Definition at line 328 of file palmOnePhotoCommon.h.

Char name[PALM_PHOTO_MAX_PATH+1]

File name on the device.

Definition at line 332 of file palmOnePhotoCommon.h.

UInt32 type

Type of the stream.

Definition at line 333 of file palmOnePhotoCommon.h.

UInt32 creator

Creator of the stream.

Definition at line 334 of file palmOnePhotoCommon.h.

struct { ... } StreamFile

File format: stream

UInt16 volumeRef

Volume where the file is located.

Definition at line 339 of file palmOnePhotoCommon.h.

struct { ... } VFSFile

File format: VFS

void* bufferP

Buffer holding the image.

Definition at line 344 of file palmOnePhotoCommon.h.

UInt32 bufferSize

Size of the buffer.

Definition at line 345 of file palmOnePhotoCommon.h.

struct { ... } MemoryFile

File format: Memory

union { ... } file

Image location.

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