Platform SDK: TAPI |
Creates a directory of given type and name.
HRESULT CreateDirectory( DIRECTORY_TYPE DirectoryType, BSTR pName, ITDirectory **ppDir );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
E_POINTER | The pname or ppDir parameter is an invalid pointer. |
E_INVALIDARG | The DirectoryType parameter is not valid. |
The application must use SysAllocString to allocate memory for the pName parameter and use SysFreeString to free the memory when the variable is no longer needed.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Rend.h.
Library: Use Rendid.lib.