PAstruct
The PAstruct structure is a path name array that specifies files either through an object identifier (OID) or through a complete path name and file name.
Syntax
typedef struct_PAstruct {
EFileIDType m_IDtype;
union {
CEOID m_fileOID;
TCHAR m_szPathname[PA_MAX_PATHNAME];
};
} PAstruct;
#define PA_MAX_PATHNAME 96
Members
- m_IDtype
A value from the EFileIDType enumeration that indicates whether to use an object identifier or a path name to specify the file. - m_fileOID
The object identifier (OID) that specifies the file. This field is used only when m_IDtype = FILE_ID_TYPE_OID. - m_szPathname
The full path name with file name that specifies the file. This field is used only when m_IDtype = FILE_ID_TYPE_PATH. You are responsible for allocating and freeing the string memory for this field.
Defined Terms
- PA_MAX_PATHNAME
The maximum length of the path name and file name, including the terminating NULL character.
Requirements
Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: projects.h
Library: note_prj.lib
See Also
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.