Share via


Volume.SetPrivateData(Guid,Byte[]) Method (Microsoft.DirectX.Direct3D)

Associates data with the volume that is intended for use by the application, not by Microsoft Direct3D.

Definition

Visual Basic Public Sub SetPrivateData( _
    ByVal guidData As GuidLeave Site, _
    ByVal privateData() As Byte _
)
C# public void SetPrivateData(
    GuidLeave Site guidData,
    byte[] privateData
);
C++ public:
void SetPrivateData(
    GuidLeave Site guidData,
    array<unsigned char>^ privateData
);
JScript public function SetPrivateData(
    guidData : GuidLeave Site,
    privateData : byte[]
);

Parameters

guidData System.Guid
A GuidLeave Site that represents the identifier of the private data to set.
privateData System.Byte[]
A ByteLeave Site array that contains the private data for the current volume.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Direct3D could not allocate sufficient memory to complete the call.

See Also