Partager via


CreateInstance

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

DWORD CreateInstance ();

Parameters

None.

Return Values

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 will be the first function called when the LoadIntChainHandler function is called to install the ISR handler once the handler is loaded.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Not applicable.
Link Library: Coredll.lib.

See Also

Installable ISRs | LoadIntChainHandler | DestroyInstance

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.