IAPI::SaveWindowLayout

property SaveWindowLayout.

Saves current window positions on the user Desktop. Available since version 2.32.0

 

HRESULT SaveWindowLayout(
  long hWnd,
  BSTR LayoutName,
  BOOL *pVal
);

Parameters

hWnd

[in] .   Handle of the target window. If -1 then the console window (DOS) will be used.

LayoutName

[in] .   Layout name which is associated to window’s positions

pVal

[out, retval] The returned value is TRUE or FALSE

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI