SB AWE32 Developer's Information Pack
PART III Windows Driver API
••
67
Copyright
Creative Technology Ltd., 1994-1996
Version 3.00
Parameters
lParam1
Specify a far pointer to CViPlayObject, LPVIPLAYOBJECT. When the
application calls the manager, the following fields of the CViPlayObject
structure are used,
Member
Remarks
dwFlag
Set to zero to start playing the sample. Set to 0xFFFFFFFF
to stop.
dwSampleHandle
Set to sample handle which is obtained when streaming the
sample.
dwStart
Set to zero (for RAM sample)
dwEnd
Set to zero (for RAM sample)
dwStartLoop
Start loop offset in terms of words. Set to zero if no looping.
dwEndLoop
End loop offset in terms of words. Set to zero if no looping.
lParam2
Unused.
hUserID
Curerent ID assigned to the application by AWE Manager during
initialization.
Remarks
Applications need to ensure that every sample played is stopped. Otherwise,
undesirable noise could occur when loading other samples.
Return
The return value would be AWE_NO_ERR if the operation is successful, and
an error code otherwise. Possible error is:
AWE_ERR_USERID_INVALID
AWE_ERR_INVALID_SAMPLE
AWE_ERR_OUT_OF_GCHANNEL
See Also
AWE_VIENNA_LOAD_SAMPLE
AWE_VIENNA_LOAD_PRESET
Actions
Application sends this message when it wishes to load a SoundFont2 presets.
Parameters
lParam1
Specifies a far pointer to a memory locations where a valid SoundFont2
presets is stored.
lParam2
Unused.
hUserID
Curerent ID assigned to the application by AWE Manager during
initialization.