| Description | |||||||||||||||||||||||
| Reads the contents of a short file from a location on disk or in Windchill.
Note: Not intended for CAD model files. |
|||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||
| #include <ProUtil.h> | |||||||||||||||||||||||
| ProError | ProDocumentFileContentsRead | ( | |||||||||||||||||||||
| ProPath source_file | |||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||
| The path to the file, provided by functions such as ProFileMdlnameOpen() and ProFileMdlfiletypeOpen(). | |||||||||||||||||||||||
| */ | |||||||||||||||||||||||
| ProPath document_name | |||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||
| If present, the name of the document, with source_file being the name of the secondary content on the document. If NULL, read the primary content of source_file. Ignored for non-Windchill locations. | |||||||||||||||||||||||
| */ | |||||||||||||||||||||||
| ProArray* contents | |||||||||||||||||||||||
| /* (Out) | |||||||||||||||||||||||
| A ProArray of chars from the file, which caller must free using ProArrayFree(). | |||||||||||||||||||||||
| */ | |||||||||||||||||||||||
| ) | |||||||||||||||||||||||
| Returns | |||||||||||||||||||||||
|
|||||||||||||||||||||||