Rev 259 | Rev 268 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 259 | Rev 263 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | Boolean sfReplacing; |
34 | Boolean sfReplacing; |
35 | OSType sfType; |
35 | OSType sfType; |
36 | FSSpec sfFile; |
36 | FSSpec sfFile; |
37 | ScriptCode sfScript; |
37 | ScriptCode sfScript; |
38 | 38 | ||
- | 39 | #ifdef WIN_ENV |
|
39 | WORD nFileExtension ; |
40 | WORD nFileExtension ; |
40 | /* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/CommonDialogBoxLibrary/CommonDialogBoxReference/CommonDialogBoxStructures/OPENFILENAME.asp |
41 | /* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/CommonDialogBoxLibrary/CommonDialogBoxReference/CommonDialogBoxStructures/OPENFILENAME.asp |
41 | Specifies the zero-based offset, in TCHAR s, from the beginning of the path to the file name extension |
42 | Specifies the zero-based offset, in TCHAR s, from the beginning of the path to the file name extension |
42 | in the string pointed to by lpstrFile . For the ANSI version, this is the number of bytes; |
43 | in the string pointed to by lpstrFile . For the ANSI version, this is the number of bytes; |
43 | for the Unicode version, this is the number of characters. For example, if lpstrFile points to |
44 | for the Unicode version, this is the number of characters. For example, if lpstrFile points to |
44 | the following string, "c:\dir1\dir2\file.ext", this member contains the value 18. |
45 | the following string, "c:\dir1\dir2\file.ext", this member contains the value 18. |
45 | If the user did not type an extension and lpstrDefExt is NULL, this member specifies an offset |
46 | If the user did not type an extension and lpstrDefExt is NULL, this member specifies an offset |
46 | to the terminating NULL character. If the user typed "." as the last character in the file name, |
47 | to the terminating NULL character. If the user typed "." as the last character in the file name, |
47 | this member specifies zero. */ |
48 | this member specifies zero. */ |
- | 49 | #endif |
|
48 | } StandardFileReply; |
50 | } StandardFileReply; |
49 | 51 | ||
50 | typedef unsigned char *StringPtr,**StringHandle; |
52 | typedef unsigned char *StringPtr,**StringHandle; |
51 | //typedef const unsigned char *ConstStr255Param; |
53 | //typedef const unsigned char *ConstStr255Param; |
52 | 54 |