Sent to the WIMMessageCallback function to enable the caller to prevent a file resource from being compressed during a capture.


  wParam = (PWSTR) pszFullPath;
  lParam = (PBOOL) pfProcessFile;



[in] A pointer to a null-terminated string, containing the full path of the file to be compressed.


[in] A pointer to a Boolean value that determines whether the file should be compressed. To prevent file compression, set the contents of this parameter to zero.

Return Value

Your routine must return WIM_MSG_SUCCESS.


The default is to compress the file, so this message can be ignored unless there are files that must remain uncompressed.

See Also