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 a buffer containing resource data.
lpwfxFormat
Identifier of a buffer containing wave format data.

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

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.