Partager via


IMsTscSecuredSettings::get_WorkDir

This method retrieves the WorkDir property, which specifies the working directory of the start program.

HRESULT get_WorkDir(
  BSTR* pWorkDir
);

Parameters

  • pWorkDir
    [out] Pointer to the string value the WorkDir property is set to.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Remarks

This method allocates the memory required for the buffer pointed to by pWorkDir. Calling C/C++ applications must free the memory with a call to the SysFreeString function. This is not required for Visual Basic clients.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

IMsTscSecuredSettings | put_WorkDir

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.