Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

This 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 EFileIDTypeenumeration that indicates whether to use an OID or a path name to specify the file.

m_fileOID

The OID of the file. This member is used only when m_IDtypeis set to FILE_ID_TYPE_OID.

m_szPathname

The full path name with file name that specifies the file. This field is used only when m_IDtypeis set to 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

Header projects.h
Library note_prj.lib
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also