Skip to main content
gamedev.net
🔒 Locked

pUnkOuter

Started by Tha_HoodRat Mar 6, 2000 at 5:25 PM 0 replies 650+ views
Original Post
Tha_HoodRat
Tha_HoodRat
Ok this is gonna sound silly , but what the hell is the use of the pointer pUnkOuter . I know that its a IUnknown FAR* parameter in IDirectDraw7::CreateSurface() method but what the hell does it do ? All the books I have come across just say
quote:
Reserved for future use.Must be set to NULL.
I have to find out , otherwise this itch in my brain wont go away .Hhhhhhhhhm , maybe I should change my aliase to pUnkOuter........... Help me aghhhhh ThaHoodRat ------------------------------------------------------------ Trying to take me outta the ghetto but I''m still buck wild. ------------------------------------------------------------
I was influenced by the Ghetto you ruined.
NewDeal
NewDeal
hehe ... been wondering bout that too so i decided to check the SDK.

pUnkOuter
Allows for future compatibility with COM aggregation features. Presently, however, this method returns an error if this parameter is anything but NULL.

Think that answers the question. It does absolutely nothing

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.