Address.GetComponentGuid Method

Language:

Warning: This method is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Retrieves information on the component at the specified key. Values for the component are retrieved in their native format. If the component key is not found, DPNERR_DOESNOTEXIST is returned.The value of the component is retrieved in its native format. Therefore, if the component's value is a , a is retrieved by this call. So buffer size = 4 and should be a recast . Deprecated.

Definition

Visual Basic Public Function GetComponentGuid( _
    ByVal keyName As String _
) As Guid
C# public Guid GetComponentGuid(
    string keyName
);
C++ public:
Guid GetComponentGuid(
    StringkeyName
);
JScript public function GetComponentGuid(
    keyName : String
) : Guid;

Parameters

keyName System.String

Return Value

System.Guid


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