|
Create an Interface ID from a given Interface ID buffer.
- Resource Management:
- This function allocates resources that must later be freed by calling DOFInterfaceID_Destroy.
- Parameters
-
dataSize | The size, in bytes, of the Interface ID buffer at data. This should not exceed the actual size of the Interface ID. |
data | Pointer to the given buffer. This should not be NULL, and should contain the bytes representing a legal Interface ID. |
- Returns
- The newly created DOFInterfaceID.
- Exceptions
-
NULL | is returned if an invalid parameter is detected, or the required resources cannot be allocated. |
|