Sent to a WIMMessageCallback function to enable the caller to align a file resource on a particular alignment boundary.


  wParam = (PWSTR) pszFullPath;
  lParam = (PDWORD) pdwAlignment;



[in] A pointer to a null-terminated string containing the full path of the file that failed to be captured or applied.


[in] A pointer to a DWORD value that specifies the alignment boundary to be used when storing the file resource. By default, this value is zero. To align a file resource, set the contents of this parameter to a nonzero value and return WIM_MSG_SUCCESS from the callback function.

Return Value

Your routine must return WIM_MSG_SUCCESS.


The default setting is not to align file resources in the Windows image (.wim) file, so this message can be ignored unless there are files that must be aligned in the .wim file.

See Also