Sets the location where temporary imaging files are to be stored.

BOOL
WIMSetTemporaryPath(
	HANDLE  hWim,
	PWSTR   pszPath
	);

Parameters

hWim

[in] A handle to a .wim file returned by the WIMCreateFile function.

pszPath

[in] A pointer to a null-terminated string, indicating the path where temporary image (.wim) files are to be stored during capture or application. This is the directory where the image is captured or applied.

Return Value

If the function succeeds, then the return value is nonzero.

If the function fails, then the return value is zero. To obtain extended error information, call GetLastError.

See Also