Skip to content

Latest commit

 

History

History
87 lines (68 loc) · 2.88 KB

nf-mswmdm-imdspobject-rename.md

File metadata and controls

87 lines (68 loc) · 2.88 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mswmdm.IMDSPObject.Rename
IMDSPObject::Rename (mswmdm.h)
The Rename method renames the associated object which can be a file or a folder.
IMDSPObject interface [windows Media Device Manager]
Rename method
IMDSPObject.Rename
IMDSPObject::Rename
IMDSPObjectRename
Rename
Rename method [windows Media Device Manager]
Rename method [windows Media Device Manager]
IMDSPObject interface
mswmdm/IMDSPObject::Rename
wmdm.imdspobject_rename
wmdm\imdspobject_rename.htm
WMDM
3da6a4a4-6e3b-4907-a466-5a5bd34f4374
12/05/2018
IMDSPObject interface [windows Media Device Manager],Rename method, IMDSPObject.Rename, IMDSPObject::Rename, IMDSPObjectRename, Rename, Rename method [windows Media Device Manager], Rename method [windows Media Device Manager],IMDSPObject interface, mswmdm/IMDSPObject::Rename, wmdm.imdspobject_rename
mswmdm.h
Windows
Mssachlp.lib
Windows
19H1
IMDSPObject::Rename
mswmdm/IMDSPObject::Rename
c++
APIRef
kbSyntax
COM
mssachlp.lib
mssachlp.dll
IMDSPObject.Rename

IMDSPObject::Rename

-description

The Rename method renames the associated object which can be a file or a folder.

-parameters

-param pwszNewName [in]

Pointer to a wide-character null-terminated string to receive a new name for the object. For information on how to use the LPWSTR variable type, see the Windows documentation.

-param pProgress [in]

Pointer to an application-implemented IWMDMProgress interface that enables the application to receive progress notification for lengthy renaming operations.

-returns

The method returns an HRESULT. All the interface methods in Windows Media Device Manager can return any of the following classes of error codes:

  • Standard COM error codes
  • Windows error codes converted to HRESULT values
  • Windows Media Device Manager error codes
For an extensive list of possible error codes, see Error Codes.

-remarks

This method is optional. For more information, see Mandatory and Optional Interfaces.

-see-also

IMDSPObject Interface

IWMDMProgress Interface