IMMDeviceGetId Method
Retrieves an endpoint ID string that identifies the audio endpoint device
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult GetId(
ref string refStrId
)
<PreserveSigAttribute>
Function GetId (
ByRef refStrId As String
) As HResult
Dim instance As IMMDevice
Dim refStrId As String
Dim returnValue As HResult
returnValue = instance.GetId(refStrId)
[PreserveSigAttribute]
HResult GetId(
String^% refStrId
)
[<PreserveSigAttribute>]
abstract GetId :
refStrId : string byref -> HResult
No code example is currently available or this language may not be supported.
- refStrId String
-
Pointer to a String variable into which the method writes the address of a null-terminated,
wide-character string containing the endpoint device ID.
The method allocates the storage for the string.
The caller is responsible for freeing the storage, when it is no longer needed,
by calling the CoTaskMemFree(IntPtr) function.
If the GetId(String) call fails, refStrId is .
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.