Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WdsCliGetImagePath

WdsCliGetImagePath function

Returns the path to the file that contains the current image.

Syntax


HRESULT WDSCLIAPI WdsCliGetImagePath(
  _In_  HANDLE hIfh,
  _Out_ PWSTR  *ppwszValue
);

Parameters

hIfh [in]

A find handle returned by the WdsCliFindFirstImage function. The image referenced by the find handle can be advanced using the WdsCliFindNextImage function.

ppwszValue [out]

A pointer to a pointer to a null-terminated string that contains the relative path of the image file for the current image.

Return value

If the function succeeds, the return is S_OK.

Remarks

This value is valid until the WdsCliFindNextImage or WdsCliClose function is used to change or close the current handle.

To obtain the full path to the image file, prefix the relative path returned in ppWszValue with "\\Server\\RemInst\".

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WdsClientAPI.h

Library

WdsClientAPI.lib

DLL

WdsClientAPI.dll

See also

Windows Deployment Services Client Functions
WdsCliClose
WdsCliFindFirstImage
WdsCliFindNextImage

 

 

Community Additions

ADD
Show:
© 2015 Microsoft