XFileData.Lock Method |
Language: |
Accesses the .x file data.
Visual Basic Public Function Lock() As GraphicsStream C# public GraphicsStream Lock(); C++ public:
GraphicsStream^ Lock();JScript public function Lock() : GraphicsStream;
Microsoft.DirectX.GraphicsStream
A GraphicsStream object that contains the locked data buffer.
You can make multiple lock calls. However, you must ensure that the number of lock calls matches the number of unlock calls.
Exception GraphicsException.ErrorCode Cause GraphicsException XFileErrorCodes.BadValue A variable is outside its expected range; typically returned when an object is invalid.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.