• Ready for review
  • OEM_LoadIntChainHandler

    In Windows Embedded CE6 LoadIntChainHandler is only callable from kernel-space. The function OEM_LoadIntChainHandler is a workaround to use LoadIntChainHandler from user-space.
    This function is called by a driver to install an ISR to handle a particular interrupt.
    See Platform-Builder-Help for details.

    HANDLE OEM_LoadIntChainHandler( LPCWSTR lpFilename, LPCWSTR lpszFunctionName, BYTE bIRQ );

    Parameters

    lpFilename
    [in] Pointer to a null-terminated string that names the DLL executable module.

    If the string specifies a path but the file does not exist in the specified directory, the function fails.

    When specifying a path, use backward slashes (\), not forward slashes (/).

    lpszFunctionName
    [in] Name of the interrupt handler entry point.

    Return Values

    If the function succeeds, a valid handle to the installed handler is returned; otherwise, NULL is returned.

    Requirements

    OS Versions: Windows Embedded CE 6.
    Header: drvlib_app.h
    Link Library: drvlib_app.lib
    added: 14.03.2008