Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class DSResourceDesc

public final class DSResourceDesc { 
     public int dwSize;
     public int dwFlags;
     public int dwBufferBytes;
     public int lpBufferData;
     public int lpwfxFormat;
}

Contains information about a loaded resource. Used by the LoadWaveResource and LoadWaveFile methods.

See also dSoundResource.

Fields

dwSize
Size, in bytes, of this class.
dwFlags
Reserved.
dwBufferBytes
Number of bytes in the buffer identified by lpBufferData.
lpBufferData
Identifier of buffer containing resource data.
lpwfxFormat
Identifier of buffer containing wave format data.

Other than initializing the fields to zero before calling LoadWaveResource or LoadWaveFile, applications should not set or change the values in these fields.

© 1996 Microsoft Corporation. All rights reserved.