CreateInstance (Windows Embedded CE 6.0)

1/5/2010

This function is implemented by an ISR to return a value that references an instance of the ISR.

Syntax

DWORD CreateInstance (void);

Parameters

None.

Return Value

A reference value that identifies an instance of the ISR handler.

A value of -1 identifies an error in the ISR.

Remarks

If a dynamic-link library (DLL) that implements an installable ISR exports the CreateInstance function, the DLL is the first function called when the LoadIntChainHandler function is called to install the ISR handler, after the handler is loaded.

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Optional OAL Functions
DestroyInstance
LoadIntChainHandler

Other Resources

Installable ISRs and the Kernel