Partager via


IMsTscSecuredSettings::get_WorkDir (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT get_WorkDir(
  BSTR* pWorkDir
);

Parameters

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

Return Value

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

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsTscSecuredSettings
IMsTscSecuredSettings::put_WorkDir