IWiaDrvItem::GetParentItem method (wiamindr_lh.h)
The IWiaDrvItem::GetParentItem gets the parent item of the current item.
Syntax
HRESULT GetParentItem(
IWiaDrvItem **__MIDL__IWiaDrvItem0012
);
Parameters
__MIDL__IWiaDrvItem0012
ppIParentItem [out, optional]
Returns a pointer to the parent item of the current item.
Return value
If the method succeeds, it stores a pointer to the parent item in pplParentItem and returns S_OK. If the parent item is the root item, the method returns S_FALSE. If the method fails, it returns a standard COM error code.
Remarks
Minidrivers typically use this method to obtain a pointer to the nonroot parent item of the current item.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | wiamindr_lh.h (include Wiamindr.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for