Sent to a WIMMessageCallback function to enable the caller to change the size or the name of a piece of a split Windows image (.wim) file.
WIM_MSG_SPLIT wParam = (PWSTR *) ppszPartPath; lParam = (LARGE_INTEGER *) pliPartSize;
Parameters
wParam
[in out] A pointer to an Pwstr pointer containing the full file path of the .wim part that is about to be created by the WIMSplitFile function. This value can be replaced by a caller-specified string to override the path and/or the location of the file.
lParam
[in out] A pointer to a LARGE_INTEGER value that specifies the maximum size for the .wim part about to be created by the WIMSplitFile function. By default, this value is the original value passed in to the WIMSplitFile function.
Return Value
Your routine must return WIM_MSG_SUCCESS.
Remarks
The default behavior is to use the size value specified in the call to the WIMSplitFile function for all .wim file pieces and a variation of the original file name, but, by replacing the values passed in by this message, the calling application can alter the file names and sizes.