Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Send Feedback on this topic to the authors