DiMgslDlAllocate


Prototype
NTSTATUS DiMgslDlAllocate( void* Handle,
                           ULONG* Link );
Parameters
Handle
handle to open port
Link
buffer to hold returned link identifier
Return Value
STATUS_SUCCESS Success. Identifier returned in Link
STATUS_INSUFFICIENT_RESOURCES Insufficient resources to allocate link.
STATUS_INVALID_HANDLE Handle is invalid

Allocate a link instance for use with the API. Use the returned identifier with the other link layer API functions. The link instance must be freed with DiMgslDlFree when no longer needed.

NOTE:

This function must be called at IRQL_PASSIVE.


Previous Contents Next