Lines Matching defs:ref
56 ULONG ref = InterlockedIncrement(&This->ref);
58 TRACE("%p increasing refcount to %u.\n", iface, ref);
60 if (ref == 1 && This->wineD3DVertexShader)
67 return ref;
79 ULONG ref = InterlockedDecrement(&This->ref);
81 TRACE("%p decreasing refcount to %u.\n", iface, ref);
83 if (ref == 0) {
95 return ref;
166 shader->ref = 1;