IPipeDouble::Push method

Sends data of the double integer type to the pipe source.

Syntax


HRESULT Push(
  [in]  DOUBLE *buf,
  [in]  ULONG cSent
);

Parameters

buf [in]

A pointer to the memory buffer that holds the data to be sent.

cSent [in]

The number of double integers in the buffer.

Return value

This method returns S_OK to indicate that the data was sent successfully.

Remarks

When the Push method is called, the data is being sent to the provider of the pipe. The caller fills the buffer with the data and then calls Push. The number of double integers being sent is specified in the cSent parameter. The caller is responsible for ensuring that the buffer is valid for the duration of the call.

When the last of the data has been pushed, the caller must do one last push of cSent equal to 0 to indicate that the data transfer is complete.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IPipeDouble is defined as DB2F3ACF-2F86-11d1-8E04-00C04FB9989A

See also

IPipeDouble

 

 

Community Additions

ADD
Show:
© 2014 Microsoft