![]() |
![]() |
![]() |
DSoundHelper.GetObjectFromInterfaceGuid Method |
Language: |
Retrieves an object based on an interface globally unique identifier (GUID).
Visual Basic Public Shared Function GetObjectFromInterfaceGuid( _
ByVal lpVal As IntPtr, _
ByVal iid As Guid, _
ByVal source As Object _
) As ObjectC# public static object GetObjectFromInterfaceGuid(
IntPtr lpVal,
Guid iid,
object source
);C++ public:
static Object^ GetObjectFromInterfaceGuid(
IntPtr lpVal,
Guid iid,
Object^ source
);JScript public static function GetObjectFromInterfaceGuid(
lpVal : IntPtr,
iid : Guid,
source : Object
) : Object;
lpVal System.IntPtr
The pointer to the unmanaged Component Object Model (COM) interface of the requested object.iid System.Guid
The interface GUID of the requested object.source System.Object
The parent object of the requested object (see Remarks).
System.Object
Returns the object that is requested.
The source parameter is the requested object's parent object. As an example, if you are requesting a SecondaryBuffer object, you would pass the Device object to this method using the source parameter.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center