This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method checks if the removable media on which the file system object resides has been swapped.
#define INCL_WINWORKPLACE #include <os2.h> WPFileSystem *somSelf; /* Pointer to the object on which the method is being invoked. */ BOOL fSwapped; /* Swap flag. */ fSwapped = _wpIsDiskSwapped(somSelf);