IWMDMDevice::GetManufacturer method (mswmdm.h)
The GetManufacturer method retrieves the name of the manufacturer of the device.
Syntax
HRESULT GetManufacturer(
[out] LPWSTR pwszName,
[in] UINT nMaxChars
);
Parameters
[out] pwszName
Pointer to a wide-character, null-terminated string specifying the manufacturer's name. The buffer must be allocated and released by the caller.
[in] nMaxChars
Integer specifying the maximum number of characters that can be copied to pwszName, including the termination character.
Return value
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
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | mswmdm.h |
Library | Mssachlp.lib |