SB AWE32 Developer's Information Pack
PART III Windows Driver API
••
63
Copyright
Creative Technology Ltd., 1994-1996
Version 3.00
Current ID assigned to the application by the AWE Manager during
initialization.
Remarks
This message is provided so that MIDI events can inserted synchronously
without go through the MMSYSTEM. The MIDI command accepted here are
generic commands drafted. If a command is not supported by the driver, it
will not be executed
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_DRIVER_BUSY
See Also
None.
AWE_ISHANDLE
Actions
An application sends this message to the AWE Manager to identify if a
handle is a successful candidate of the manger. Applications may use this
message to validate a handle before committed to any operations.
Parameters
lParam1
Specify a declared handle type, AWEHANDLE. This is the handle used in
query.
lParam2
Unused.
hUserID
Current ID assigned to the application by the AWE Manager during
initialization.
Remarks
The following are some important points to note when using this function :
This message is only meaningful to be called after successful acquisition of
the Manager.
The location passed in as pointer must be valid memory locations allocated
by the parent application. If the locations are invalid, it is possible to trip
General Protection Fault in Windows.
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
See Also
None.
AWE_IS_DEVICE_FREE
Actions
An application sends this message to the AWE Manager to identify if a
device is free and available. Application may wish to do so before
attempting to open the device.
Parameters
lParam1