Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC
PATHDocumentation > Mac OS 8 and 9 > Human Interface Toolbox > Window Manager >

Programming With the Mac OS 8.5 Window Manager


Obtains a file system specification structure for the file that is associated with a window.

pascal OSStatus GetWindowProxyFSSpec (
                     WindowPtr window,
                     FSSpec *outFile);
A value of type WindowPtr . Pass a pointer to the window for which you wish to determine the associated file.
A pointer to an FSSpec structure. On return, this structure contains a copy of the file system specification data for the file associated with the specified window. See Inside Macintosh: Files for more information on the FSSpec data type.
function result
A result code. See Result Codes.

You can use the GetWindowProxyFSSpec function to obtain identifying information about a proxy file: its volume reference number, directory ID, and file name. See Supporting Window Proxy Icons for examples of how your application can provide proxy icon support in its document windows.


Available with Mac OS 8.5 and later.


The function SetWindowProxyFSSpec .

1999 Apple Computer, Inc. – (Last Updated 18 March 99)

Get information on Apple products.
Visit the Apple Store online or at retail locations.

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice