Microsoft DirectX 9.0 SDK Update (October 2004)

Volume.SetPrivateData Method

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Sub SetPrivateData( _
    ByVal guidData As Guid, _
    ByVal privateData() As Byte _
)
C# public void SetPrivateData(
    Guid guidData,
    byte[] privateData
);
Managed C++ public: void SetPrivateData(
    Guid guidData,
    Byte privateData __gc[]
);
JScript .NET public function SetPrivateData(
    guidData : Guid,
    privateData : byte[]
);

Parameters

guidData System.Guid. A Guid Leave Site that represents the identifier of the private data to set.
privateData System.Byte[]. A Byte Leave 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.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center