Consider the following scenario:
In this scenario, either the managed application or the native application does not return an error as expected. The managed application shows that the file copy is successful. In the native application, although the CopyFile function returns False, the result of the GetLastError function returns no error code.
- You run a Windows Embedded CE 6.0 R3-based image that contains the Storage Manager components on the target device.
- You install the Encfilt.dll encryption filter on a partition that is full.
- You take one of the following actions:
- You run a managed application that calls the File.Copy method to copy an existing file to a new file on the partition.
- You run a native application that calls the CopyFile function to copy an existing file to a new file on the partition.
- You call the GetLastError function to return error information.
In this scenario, either the managed application or the native application does not return an error as expected. The managed application shows that the file copy is successful. In the native application, although the CopyFile function returns False, the result of the GetLastError function returns no error code.