| LockFlag Enumeration | Language: | 
      
      
      Contains constants that describe how to lock a buffer while reading or writing to it.
      Definition
      
        
          
            | Visual Basic | Public Enum LockFlag | 
          
            | C# | public enum LockFlag | 
          
            | C++ | public enum class LockFlag | 
          
            | JScript | public enum LockFlag | 
        
      
      Members
      
        
          
            | Member | Value | Description | 
          
            | None | 0 | Do not lock the buffer. | 
          
            | EntireBuffer | 2 | Lock the entire buffer. | 
          
            | FromWriteCursor | 1 | Start the lock at the write cursor. | 
        
      
      Enumeration Information
      
        
          
            | Namespace | Microsoft.DirectX.DirectSound | 
          
            | Assembly | Microsoft.DirectX.DirectSound (microsoft.directx.directsound.dll) | 
          
            | Strong Name | Microsoft.DirectX.DirectSound,
       Version=1.0.900.0,
       Culture=neutral,
       PublicKeyToken=d3231b57b74a1492 | 
        
      
      See Also
      
      
      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