IsVirtualized
Description: |
baIsVirtualized checks if program's file access is being virtualized under Vista. |
Platforms: |
Windows |
Usage: |
Result = baIsVirtualized( ) |
Arguments: |
None. |
Returns: |
Integer. Returns 1 if program is being virtualized, else 0. |
Examples: |
Director: Authorware: |
Notes: |
This function only works on Vista, if used under earlier Windows it will always return 0. If a program is run by a Limited user, then any attempts to write to either the Windows or Program Files will result in the files being saved in the <user>\AppData\Local\VirtualStore folder instead. Attempting to write to the LOCAL_MACHINE branch of the registry will result in the data being written to the CLASSES_ROOT\VirtualStore branch instead. This process is called virtualization. baIsVirtualized returns true if the current program's file access will be virtualized. To find the VirtualStore folder, use : baSysFolder( "28" ) & "VirtualStore" The VirtualStore folder name is never localised.
|
See also: |
baIsLimited |