OhcdPdd_DllMain

This function is the main DLL entry point for the PDD portion of an OHC interface driver.

Syntax

BOOL OhcdPdd_DllMain( HANDLE hinstDLL, DWORD dwReason, LPVOID lpvReserved );

Parameters

hinstDLL
[IN] Handle to a DLL instance.
dwReason
[IN] Specifies a reason code.
lpvReserved
[IN] Pointer to a system parameter.

Return Values

TRUE indicates success. FALSE indicates an error.

Remarks

This function enables the PDD to perform any necessary processing at DLL entry time. Generally, this function does little because most initialization is performed by the OhcdPdd_Init function.

This function is declared in the Ohcdddsi.h header file.