• win32API大全_vb

    函数功能:该函数是一个库定义的回调函数,当SOUNDSENTRY易用特性存在,并且一个基于win32的应用程序(或者在窗口内运行的应用程序)通过计算机的内置扬声器发声时,它产生一个控制的可视化消息。 函数原型:LRESULT CALLBACK SOUNDSENTRYProc(DWORD dwMillisec,DWORD fdwEffect); 参数: Millisec:指定可视化消息的持续时间,以毫秒为单位。该消息是在一个基于win32的应用程序(或运行在窗口的应用程序)发声时显示出来的。 tdwEffect:指定要显示的可视化消息的类型。当前值通常应为SSWF_CUSTOM。 返回值:如果可视化消息已经或将要正确显示,那么返回值为TRUE,如果消息异步,并当调用该函数时其状态无效,那么应该返回TRUE。如果出错使得消息无法显示,那么返回值为FALSE。若想获得更多错误信息,请调用GetLastError函数。 备注:包含SOUNDSENTRYProc函数的库必须是一个32位的DLL,并且该 DLL必须导出名为SOUNDSENTRYProc的函数,即供外部调用和连接。SOUNDSENTRYProc函数只是在应用程序或库调用SystemParameterslnfo函数之后才调用。SystemParameterslnfo函数指定SPI_SETSOUNDSENTRY项的值以及SOUNDSENTRY结构的地址,在SOUNDSENTRY结构中,成员iWindowsEffect的值设为SSWF_CUSTOM。 速查:Windows NT:3.1及以上版本;Windows:95及以上版本;Windows CE:不支持;库文件:用户自定义。

    1
    80
    681KB
    2010-02-07
    6
  • java的api J2EE_API

    Overview Package Class Tree Deprecated Index Help PREV CLASS NEXT CLASS FRAMES NO FRAMES SUMMARY: INNER | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD -------------------------------------------------------------------------------- javax.ejb Class AccessLocalException java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--javax.ejb.EJBException | +--javax.ejb.AccessLocalException All Implemented Interfaces: java.io.Serializable -------------------------------------------------------------------------------- public class AccessLocalException extends EJBException An AccessLocalException is thrown to indicate that the caller does not have permission to call the method. This exception is thrown to local clients. See Also: Serialized Form -------------------------------------------------------------------------------- Constructor Summary AccessLocalException() Constructs an AccessLocalException with no detail message. AccessLocalException(java.lang.String message) Constructs an AccessLocalException with the specified detail message. AccessLocalException(java.lang.String message, java.lang.Exception ex) Constructs an AccessLocalException with the specified detail message and a nested exception. Methods inherited from class javax.ejb.EJBException getCausedByException, getMessage, printStackTrace, printStackTrace, printStackTrace Methods inherited from class java.lang.Throwable fillInStackTrace, getLocalizedMessage, toString Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait Constructor Detail AccessLocalException public AccessLocalException()Constructs an AccessLocalException with no detail message. -------------------------------------------------------------------------------- AccessLocalException public AccessLocalException(java.lang.String message)Constructs an AccessLocalException with the specified detail message. -------------------------------------------------------------------------------- AccessLocalException public AccessLocalException(java.lang.String message, java.lang.Exception ex)Constructs an AccessLocalException with the specified detail message and a nested exception. -------------------------------------------------------------------------------- Overview Package Class Tree Deprecated Index Help

    0
    26
    1.78MB
    2010-02-07
    4
关注 私信
上传资源赚积分or赚钱