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

WIM_MSG_COMPRESS

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

Parameters

wParam

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

lParam

[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.

Remarks

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

See Also